Duplicating Header does not work

When i try to duplicate a header from header builder or alternatively save it as template and then reuse it - the header stays empty. Could you take a look inside?

Hi Felix,

Thanks for reaching out.

I couldn’t find what’s causing it, but I do see a lot of error regarding CORS (mixed content issues). Could you try installing Better Search Replace plugin and replace the strings I’ll provide in the secure note?

And please backup your site before doing that. This process may not exactly fix the issue but we have to narrow down the possible causes.

Thanks!

I did - but it’s still not possible! :frowning:

I see that WP Admin is forced to use HTTPS but your WordPress and Site URLs are still in HTTP. I’ve tried turning it to HTTPS but it still didn’t solve the issue though.

This might have something to do with the PHP and/or MySQL version. Would you mind contacting your host to test downgrading to PHP 7.1 and MySQL 5.6 just for testing?

You can also try replicating your site to a different server to see if this is server setup related.

Third party plugins might also play a role so please deactivate all third party plugins while we investigate. If that could not be done in your live site, please copy your site to a staging server.

Thanks.

We are on WP-Engine - so a change of PHP is not possible!
We tried to replicate this on the dev environment - have a look for yourself!

Hi Felix,

It’s related to this issue https://theme.co/apex/forum/t/header-builder-copy-template-not-working-after-wp-5-1-urgent/53648. It appears you have updated your Wordpress to 5.1 too and I can confirm that your header contains links with target="_blank". I’m not sure what’s really happening, but maybe it’s added security by Wordpress and removes any request that contains it. Because usually popups are made from that, but I’m not fully sure, it’s just my assumption.

It’s already added to our issue tracker for further troubleshooting, for now, edit your header and footer links and remove target="_blank". Or restore it back to Wordpress 5.0.3

Hope this helps.

Thank you for your help!

You’re welcome, Felix.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.