Archived topic
menu button in mobile doesnt work
13 replies · Started by Drew on October 11, 2021
Hi, my menu button in mobile stopped working. It is fine in desktop mode. I disabled both WP Rocket and Perfmatters plugin but still didn't fix the problem. Any ideas what this could be?
Hi there,
Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?
Let me know :)
Hi Leo, done. All disabled
Looks like it's working?
https://www.screencast.com/t/B3vzHfhZ
It's still the same. It's there but not clickable. Neither is the search icon. You are able to click on it and open the menu? Desktop is fine, it's just mobile that doesn't work.
Did you see my screenshot? It shows the mobile menu opened.
Take a look at this as well:
https://www.screencast.com/t/mplXDZyukU
Can you test it while logged out? I logged into wp-admin on my phone and the menu works. If I log out and refresh the page it no longer works.
That's because the log-out environment still has all other plugins activated.
I'm gonna guess that you have some server/hosting level cache activated.
I am using Cloudflare. Could that be why?
It could be for sure :)
What I don't understand now Leo is that if I enable all the plugins, clear all caches it works totally fine on mobile when I am logged in. When I am logged out the problem comes back. If there was a plugin conflict wouldn't it not work even when logged in?
What I don’t understand now Leo is that if I enable all the plugins, clear all caches it works totally fine on mobile when I am logged in. When I am logged out the problem comes back. If there was a plugin conflict wouldn’t it not work even when logged in?
Check if there's a plugin setting relating to not serving cached page to logged in users. If there is and it's enabled, that's likely why when you're logged in, it doesn't serve a cached version of the site (which is not broken) and on logged out users it then serves a cached version of the site (which may be broken/has to be purged or regenerated).
I have that option in one of my caching plugins but it wasn't enabled. However, I was able to solve the problem. Disabling the plugins didn't have any effect when logged out for this particular issue. With all plugins active, I unchecked all the options in WPRocket and re-enabled one at a time. I was able to narrow it down to the option "Delay Javascript Execution." Once this remained unchecked the menu button worked again in mobile when logged out.
Good find! Thanks for sharing it with us. Glad you got it sorted. :D