• Resolved Marty

    (@bozzmedia)


    I get errors like this for some blocks when viewing the block manager

    The block “contextual-related-posts/related-posts” must have a title. blocks.min.js:3:106768

    The block “generateblocks/image” must have a title. blocks.min.js:3:106768

    This seems to prevent these blocks for showing up in the interface. Does it indicate a configuration issue with those blocks? Maybe there could be a placeholder value for the title so they can display if they are not properly configured.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Yea, that warning displays for all WooCommerce blocks as well.
    That script file reference isnt actually this plugin, but core WP.

    /wp-includes/js/dist/blocks.js

    Plugin Author Darren Cooney

    (@dcooney)

    Quick update: I spent a couple hours more digging into this issue and I think it’s how WooCommerce and GP are registering the blocks… They may be inner blocks or dependant on other blocks so they don’t even appear in the block listing.

    I may need to reach out to them on Github to narrow it down further.

    Thread Starter Marty

    (@bozzmedia)

    @dcooney really appreciate the quick reply and work on this, thanks!

    splitteralex

    (@splitteralex)

    @dcooney I have the same problem with all my custom blocks. I use @wordpress/create-block to create them and “register_block_type” to register them. My block.json files all have a title “title” declared

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The block “generateblocks/image” must have a title.’ is closed to new replies.