Archived topic
Header disappeared & Menu has all pages in it
13 replies · Started by William on May 30, 2021
Hi,
In the past few days, I've had my main menu and header image change sitewide. I've tried changing it back, via customize, which makes the changes, but after the changes have been saved these changes don't appear on the site.
Key changes:
All pages have suddenly appeared in the main menu, cannot change back (mobile and desktop)
Header image under the main menu has disappeared (mobile and desktop)
Link: https://golfinsideruk.com/
Further info
- latest version of GP Prem and Wordpress.
- I've tried rolling back Wordpress
- debugging plugins and clearing caching (set up: wp rocket, Autoptimize, cloudflare)
It feels like I have some code overriding the customisation that had been made, but after that I'm lost.
Any ideas would be really appreciated. Or let me know if this is a wider issue with some updates.
Many thanks,
Will
Hi there,
Can you clear and disable WP Rocket for us to take a look?
We might need to go through some debugging tests so if it's a live site with traffic then please start a staging site.
Thank you!
Thanks Leo,
WP Rocket cleared and disabled.
I can create a staging site via Cloudways, but they suggest not giving out the URL and password publicly. I'll set one up then if needed would you mind sending me an email: golfinsideruk@gmail.com and I'll send over the details.
Many thanks,
Will
Hi William,
You can use the private information text field in this thread to provide the site details. Only support team members can view the details you put in there.
You can also send in the details through our contact page as well - https://generatepress.com/contact/
Thanks Elvin,
Details placed via the private chat.
Many thanks,
Will
It doesn't look like a menu is assigned. Perhaps it was accidentally deleted? or simply non-existent.
Can you check Appearance > Customize > Menus > Location and check what's assign as Primary menu?
This is what I've been attempted.
Appearance > Customize > Menus >
and assign menu to the main menu and then re-add the header. These changes appear, I press publish, but then the site isn't showing these changes?
It feels like it must be a caching issue, but WP Rocket and Cloudflare have all been disabled and cleared. So my next best guess If there is some overriding code, but I wouldn't know how to check.
Have you any other ideas about what to try?
Hi William,
As you can see from the below screenshot, your site is still cached:
https://www.screencast.com/t/WoniqVaiSbo
If the changes apply to the customizer but not the front end, I believe it's most likely a cache problem.
Can you make sure the server cache is also cleared?
If it still doesn't work, then try disabling all plugins except GP Premium to eliminate conflicts from other plugins.
Let me know :)
Thanks Ying,
All plugins bar GP Prem have been disabled on the staging site. No host caching is on.
https://wordpress-591334-1962745.cloudwaysapps.com/
Are you still getting the caching in inspect?
The only reason I feel it may not be caching is when I make the changes:
Appearance > Customize > Menus >
They are not there on the dashboard the next time? Would this still be the case if it was a caching issue?
Wow,
You heros! Thanks, I never would have figured that one out. So the below threw an error, then I deleted it from the database.
It's worked on the staging site and the changes are sticking.
I'm going to try and make the changes I need and push them live this evening with all the plugins back on, I'll get in touch if I run into any more issues and hopefully I'll then mark this thread as resolved.
Thanks.
Will
Glad to hear. Strange that this issue came up twice in a short amount of time.
Are you using any menu related plugins?
Thanks :)
No menu related plugins.
I think there was a new release of WordPress and 1-2 key plugins last week. I normally avoid them for a week or two. Strangely, when I rolled back the WP version there was still this issue?
I feel you may have a few more of these coming up, so best of luck!
Thanks again for your help.
Will
No problem :)