Blocks not visible in Admin: Browser Console Error: wp.nux not defined
-
After upgrading to BlockLab 1.5.2, my blocks do not show up in the block chooser, and blocks already on a page are not rendered.
To reproduce the issue:
1. Create, or have already created at least one custom block
2. Attempt to add a block to a page using the editor
3. Attempting to choose your custom block is impossible, it’s not listed in the block chooser.
4. If you already have existing blocks on your page, they are rendering just fine on the front end, but the edit reports the following message:Your site doesn’t include support for the “block-lab/[YOUR_CUSTOM_BLOCK]” block. You can leave this block intact or remove it entirely.
The Browser console shows the following messages.
TypeError: wp.nux is undefinededitor.blocks.js:12:66865 <anonymous> https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:12 n https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:1 <anonymous> https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:1 n https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:1 <anonymous> https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:12 n https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:1 <anonymous> https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:12 n https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:1 <anonymous> https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:1 <anonymous> https://sssm.test/wp-content/plugins/block-lab/js/editor.blocks.js?ver=1.5.2:1
I’m using WordPress 5.3.2, and Gutenberg Version 7.2.0
- The topic ‘Blocks not visible in Admin: Browser Console Error: wp.nux not defined’ is closed to new replies.