Issue with wordpress 6.8
- This topic has 20 replies, 8 voices, and was last updated 6 months, 3 weeks ago by
Key_Webdesign.
-
AuthorPosts
-
April 16, 2025 at 5:40 PM #48067
epac
ParticipantHello,
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 ?April 16, 2025 at 5:43 PM #48068Emiliano Garcia
ParticipantSame
April 16, 2025 at 6:32 PM #48069dotsunited
ParticipantSame 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
April 16, 2025 at 6:40 PM #48070Emiliano Garcia
ParticipantHi @dotsunited, so, the blocks created with the json method work fine with the lastest version of WP?
April 16, 2025 at 6:48 PM #48071dotsunited
ParticipantEmiliano: 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.
April 16, 2025 at 7:25 PM #48072epac
Participantin our case, both are broken (with and without block.json)
April 16, 2025 at 7:44 PM #48073keith bradley
ParticipantNot 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.
April 16, 2025 at 7:59 PM #48074sg123
ParticipantSame issue here for both methods of creating blocks
April 16, 2025 at 8:02 PM #48075sg123
ParticipantThis 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?
April 16, 2025 at 8:03 PM #48076dotsunited
ParticipantThe actual error message is generated in the function "MissingEdit" in "/wp-includes/js/dist/block-library.min.js".
April 16, 2025 at 11:04 PM #48081Peter
ModeratorHello,
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.
April 17, 2025 at 2:31 PM #48086Key_Webdesign
ParticipantHaving the same issue. All blocks are registered using the json method.
I have about 12 client sites that are broken because of this...April 17, 2025 at 3:31 PM #48087epac
ParticipantPeter
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 areaApril 17, 2025 at 5:23 PM #48088sg123
ParticipantYes, 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.
April 17, 2025 at 5:41 PM #48089epac
Participantyes but for websites with many users/editors/authors it will be a mess
-
AuthorPosts
- You must be logged in to reply to this topic.