Archived topic
Mobile menu sending errors to console
9 replies · Started by D on April 11, 2020
Uncaught TypeError: Cannot read property 'setAttribute' of undefined
at HTMLButtonElement.o (menu.min.js?ver=2.4.2:1)
Appears in console whenever I click on the menu. Menu does not function. Disabled caching, no luck.
Thanks!
Hi there,
Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?
Let me know :)
Just deactivated everything. Still can't get the menu to open
Same error:
menu.min.js?ver=2.4.2:1 Uncaught TypeError: Cannot read property 'setAttribute' of undefined
at HTMLButtonElement.o (menu.min.js?ver=2.4.2:1)
Can you keep all plugins disabled and send me the dashboard logins?
You can send the dashboard access using Account Issue here:
https://generatepress.com/contact/
Please include the following information:
– The URL of this topic.
– Login URL.
– Username and password.
Form submitted, thanks
We are not able to disable and enable the plugin for you unfortunately.
In this case, can you create a staging site and duplicate the existing site over so you can disable all plugins and maybe some more debugging steps?
Thanks!
Ok, just disabled. Go for it again
Can you try adding a menu item link in the menu?
https://www.screencast.com/t/jUwkL6iqG
Ahh, I see. Is it possible to hide the menu on desktop and only have it show for mobile/tablet?
So do you want the black bar at all on desktop?
A good workaround would be to use the off canvas pavel for mobile:
https://docs.generatepress.com/article/off-canvas-panel-overview/