Can we fix nav_menu block error?
-
My widget area has an error : The “nav_menu” block was affected by errors and may not function properly. Check the developer tools for more details.
I am using latest Astra Theme and Spectra
-
I can’t recreate the described one on my end. Therefore I would recommend you to deactivate all plugins – does it still happen then? Then also change the theme to a standard theme. If it should not happen without all plugins, activate them again bit by bit until the message comes back.
Ok. I will try your suggestions
Hi – well I deactivated all plugs – no change – then I switched to WP theme 2021 (2023 did NOT show widgets at all) and still had problem… could it be php 7.4?
I do not have access to php 8.0
Can you show a screenshot of the message? You can upload it e.g. here: https://imgur.com/
Hi threadi,
So sorry for the delay getting back to you.
I put a image of the problem here
As you can see it shows up 2 times.
This morning I moved from php 7.4 to php 8.0 but the problem still remains. (with php 8.0 I did not deactivate all the plugins a second time – but I will if you think that will help…)
The “nav_menu” block was affected by errors and may not function properly. Check the developer tools for more details.
When it says ‘Check the developer tools for more details.’ – how can I do that?
Thanks for your help – Dave
The message is rather meant for developers and means the JavaScript console, which you can open in your own browser in one of the ways described here: https://wordpress.org/documentation/article/using-your-browser-to-diagnose-javascript-errors/
I guess the PHP version won’t change this, even if the 8.0 is of course more modern and better suited for current web projects.
The topic ‘Can we fix nav_menu block error?’ is closed to new replies.