• Resolved wmithnyc

    (@wmithnyc)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ryan Kienstra

    (@ryankienstra)

    Hi @wmithnyc,
    Thanks for opening this, and for your great description.

    There’s a fix for this in this PR, ideally it will be deployed soon:
    https://github.com/getblocklab/block-lab/pull/492

    Deactivating the Gutenberg plugin might prevent this error, but there’s probably a reason you have it active.

    Thread Starter wmithnyc

    (@wmithnyc)

    Support,

    I am happy to know a fix is forthcoming. I am perplexed at your response:

    Deactivating the Gutenberg plugin might prevent this error, but there’s probably a reason you have it active.

    since the whole point of the plugin is to make Gutenberg compatible blocks.

    I’ll check back for updates periodically. Thanks for the response.

    Thank,

    William

    • This reply was modified 5 years, 1 month ago by wmithnyc.
    Plugin Author Ryan Kienstra

    (@ryankienstra)

    Hi @wmithnyc,
    It’s confusing, but the Gutenberg plugin isn’t required to use the block editor, as long as WP Core is 5.0 or later.

    WordPress Core now uses packages from the Gutenberg plugin.

    If you’re able to deactivate the Gutenberg plugin, that might prevent this error.

    Plugin Author Ryan Kienstra

    (@ryankienstra)

    Hi @wmithnyc,
    Sorry for this issue.

    Is there a staging server where you could test the fix, by chance?

    Here’s a .zip file of the plugin with a fix:

    https://github.com/getblocklab/block-lab/pull/492#issuecomment-575417254

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blocks not visible in Admin: Browser Console Error: wp.nux not defined’ is closed to new replies.