Issue with wordpress 6.8

Support MB Blocks Issue with wordpress 6.8

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #48067
    epacepac
    Participant

    Hello,
    With the new version 6.8, all blocks are broken in admin/gutemberg view.
    This message is displayed :
    "Your site doesn’t include support for the "meta-box/custom-block" block. You can leave it as-is or remove it."
    How to fix it ?

    #48068
    Emiliano GarciaEmiliano Garcia
    Participant

    Same

    #48069
    dotsuniteddotsunited
    Participant

    Same here.

    In our case, the blocks causing problems are created using MB Blocks with the "Block registration without block.json" method described here: https://docs.metabox.io/extensions/mb-blocks/#block-registration-without-blockjson

    #48070
    Emiliano GarciaEmiliano Garcia
    Participant

    Hi @dotsunited, so, the blocks created with the json method work fine with the lastest version of WP?

    #48071
    dotsuniteddotsunited
    Participant

    Emiliano: in our code, we are only using the method without block.json, so we don't have any information whether it works with the other method using block.json.

    We just thought we'd mention it, maybe it helps to narrow down the problem.

    #48072
    epacepac
    Participant

    in our case, both are broken (with and without block.json)

    #48073
    keith bradleykeith bradley
    Participant

    Not quite sure where the problem starts, but the register_block_type call in Block.php does not actually register the block, which can be confirmed via wp.blocks.getBlockTypes()

    The updated 6.8 now has the additional method register_block_type_from_metadata to register blocks, but designed when the project uses block.json and not an array.

    However for a MB block using block.json, this method also is not working.

    #48074
    sg123sg123
    Participant

    Same issue here for both methods of creating blocks

    #48075
    sg123sg123
    Participant

    This is a major issue for us as we use multiple custom blocks across all our websites. Can you advise when a patch might be available?

    #48076
    dotsuniteddotsunited
    Participant

    The actual error message is generated in the function "MissingEdit" in "/wp-includes/js/dist/block-library.min.js".

    #48081
    PeterPeter
    Moderator

    Hello,

    This issue has been escalated to the development team, I will update you here when it is fixed. In the meantime, please downgrade the WP core to 6.7.2 to use the MB custom blocks.

    Thank you.

    #48086
    Key_WebdesignKey_Webdesign
    Participant

    Having the same issue. All blocks are registered using the json method.
    I have about 12 client sites that are broken because of this...

    #48087
    epacepac
    Participant

    Peter
    it's not a good idea to downgrade WordPress, as 6.8 includes a new way to encrypt password in DB.
    A rollback brokes login process and it will impossible to connnect to the admin area

    #48088
    sg123sg123
    Participant

    Yes, I had this issue with the rollback, the password was not recognised. You can reset the password though so not impossible unless you don't have access to the admin email address.

    #48089
    epacepac
    Participant

    yes but for websites with many users/editors/authors it will be a mess

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.