This topic has 17 replies, 3 voices, and was last updated 2 years, 9 months ago ago by Olga Barlow
Hello,
I´m trying to duplicate the Default header, and then I can´t move forward on editing. I see various erros in console log: https://prnt.sc/80gawGsGjQ99
(In previews attempts I already had a second header but I couldn´t publish changes).
Can you help me figure out what the problem is?
This is a copy of the site in production for testing purposes.
I provide you a user to access the admin.
Thanks!
Hello,
Thank you for contacting us,
The issue is not related to header builder and it actually comes from WordPress customizer security behavior. I’m trying to describe it in easy terms. you can see there is a code on url and of course on your page which you can not see and particularly give you access as admin to your customizer, In other world security system is always ensure you as admin is requesting legit URL with enough capability, Meanwhile you have production and dev which is distinguishing by simple query string so it is easy for WP to get into the some conflict when security system is always checking your code with URL which is redirecting to another URL. For fixing this issue please turn off your redirection policy and clear your cache then check it again.
Regards
Hello,
Continuing with this issue, I’m going to give you access to the admin in production.
The server is Nginx and the parameter client_max_body_size is set to 256M.
These are the steps until I encounter the problem:
Xstore menu > Header Builder
Click in Multiple Headers (it takes a while here)
Click Edit from Header Home, then it loads “Where do you want to display your header?” but the preview of the site never ends loading (and never will…)
Then click in Edit Desktop (from Header Home)
Click in Settings from Main Menu.
In section “Select The Menu” choose Main Desktop Megamenu (id-1394). It never shows correctly in the preview for some reason.
Then just click SAVE (maybe console errors will appear already)
This is the error I get in the console: https://prnt.sc/Sld2WH86F_V2
I also got this using firefox: https://prnt.sc/m0O2zJysCYdO
Please don´t change anything in Default Header. In Header Home you can do whatever you want, it´s not productive yet.
I hope you can reproduce the issue and figure out what´s going on.
Thanks very much!
Hello,
Could you, please, provide us with the server error logs and FTP access? We’ll check the issue in more detail.
Regards
Hello!
I found something testing again in dev. If I activate the parent theme, not the child one, I can edit multiple headers without problem and no errors occur. The problem is when I active the child theme. I figured something in functions.php maybe was affecting. So I installed the clean xstore child theme provided. But the problem continues.
Can you check this? I´ll give you admin access again in dev and ftp access.
I hope you can help me. Thanks.
This is what I found in debug.log:
[08-Mar-2022 19:36:46 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “custom_checkout_field_display_admin_order_meta” not found or invalid function name in /var/www/vhosts/mixtepijamas.com.br/dev.mixtepijamas.com.br/wp-includes/class-wp-hook.php:307
Stack trace:
#0 /var/www/vhosts/mixtepijamas.com.br/dev.mixtepijamas.com.br/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#1 /var/www/vhosts/mixtepijamas.com.br/dev.mixtepijamas.com.br/wp-includes/plugin.php(474): WP_Hook->do_action()
#2 /var/www/vhosts/mixtepijamas.com.br/dev.mixtepijamas.com.br/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(448): do_action()
#3 /var/www/vhosts/mixtepijamas.com.br/dev.mixtepijamas.com.br/wp-admin/includes/template.php(1395): WC_Meta_Box_Order_Data::output()
#4 /var/www/vhosts/mixtepijamas.com.br/dev.mixtepijamas.com.br/wp-admin/edit-form-advanced.php(688): do_meta_boxes()
#5 /var/www/vhosts/mixtepijamas.com.br/dev.mixtepijamas.com.br/wp-admin/post.php(206): require(‘…’)
#6 {main}
thrown in /var/www/vhosts/mixtepijamas.com.br/dev.mixtepijamas.com.br/wp-includes/class-wp-hook.php on line 307
Hello,
Thank you. I passed your issue to our developers. I’ll inform you once they fix the issue.
Regards
Hello,
Do you have any blacklists? Because our support member can’t connect to your FTP. His IP is 176.98.91.238
Regards
Hello, I’ll provide you with new credentials.
Let me know if you have any problems.
Thank you!
Hello,
It works, thank you. I’ll inform you about the results.
Regards
Hello,
Fixed. Check now.
Regards
Hello,
Yes, it worked!
May I ask how you solved it?
Because I need the solution at the production site.
Thanks very much!
Hello,
We made some changes in files and also made reset of some fields related to our theme option in the BD. You won’t be able to do this by yourself. So, provide us with the WP Dashboard and FTP access to the site where you need to fix that.
Regards
Hello!
In private content I provide you with ftp and admin access to production site.
My concern is: will this be considered in future updates?
Thanks very much!
Hello,
Thank you. I’ll inform you once developers fix the issue.
Regards
Hello,
Fixed. Check now.
Regards
It worked just fine.
Sorry to ask again, will i have to worry about this in future updates?
Thank you very much!
Hello,
You are welcome. Don’t worry, everything should be ok.
Regards
The issue related to '‘Console errors in Header Builder: multiple headers problem’' has been successfully resolved, and the topic is now closed for further responses