Gutenberg Navigation Block Not Working Properly
-
Hello, I am having a problem with the navigation block appearing in the top header of the header of my website, every time I try to apply the block on the top header this error pops up:
“This block has encountered an error and cannot be previewed”
Is there a solution on how to fix this? If there is it would be greatly appreciated.
-
This topic was modified 2 years, 11 months ago by
Web General.
The page I need help with: [log in to see the link]
-
This topic was modified 2 years, 11 months ago by
-
Hi @aradmeezy – that definitely sounds frustrating. In order to narrow down the potential cause of the issue a little – it would be good if you could please try a little more troubleshooting.
It may be a plugin or theme conflict causing the issue. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install and activate “Health Check”: https://ww.wp.xz.cn/plugins/health-check/
It will add some additional features under the menu item under Tools > Site Health.
On its troubleshooting tab, you can Enable Troubleshooting Mode. This will disable all plugins, switch to a standard WordPress theme (if available), allow you to turn your plugins on and off and switch between themes, <strong>without affecting normal visitors to your site</strong>. This allows you to test for various compatibility issues.There’s a more detailed description about how to use the Health Check plugin and its Troubleshooting Mode at https://make.ww.wp.xz.cn/support/handbook/appendix/troubleshooting-using-the-health-check/
This happens on the latest versions of Gutenberg (v16.2.1) and WooCommerce (v7.9.0). Running WordPress v6.2.2 and PHP 8.0.
Gives the following error in the console:
[Error] Store "core/interface" is already registered. i (index.min.js:1:17937) register (index.min.js:1:19420) (anonymous function) (index.min.js:1:21859) (anonymous function) (index.min.js:129:2045) Global Code (index.min.js:129:2086)I have disabled every other plugin and activated the latest version of Twenty Twenty Three theme to be sure.
Gotcha, so how am I supposed to fix or is there no fix for it?
Hey @jeffreyvr – does the issue occur still when WooCommerce is disabled?
Hi @jordesign, the issue does not occur with WooCommerce disabled.
Hi @aradmeezy – do you have WooCommerce active on the site when this issue occurs? Would it be possible to test things with WooCommerce disabled and see if it makes a difference?
I’ll give it a try, and see what happens. I’ll have an update to let you know.
The topic ‘Gutenberg Navigation Block Not Working Properly’ is closed to new replies.