-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block validation failed for core/group
#48911
Comments
I'm getting the same error under |
The same here! But I don't have installed Gutenberg plugin. When I install Gutenberg this error disappear. 😑 |
I am also getting these block validation errors for the 'core/group' block on multiple sites with all plugins disabled, not using the Gutenberg plugin. I'm pretty sure this started within the last 24 hours. |
This has been driving me crazy! I'm developing a custom block and I thought I had done something really serious. I created a new, clean site and tested in Chrome & Edge on Windows, and on Safari on Mac. I got the same errors in the console. I also believe it started in the last 24 hours, but I can't figure out what could have changed. |
I have identified the cause of the problem. I was able to reproduce this issue with a new WordPress 6.1.1 installation. The problem is that some block patterns retrieved from the remote block pattern directory do not match the block support supported by WordPress 6.1.X.
As you can see in the error message, those patterns contain group blocks with the Therefore, if you add the following code, the error message should not appear. add_filter( 'should_load_remote_block_patterns', '__return_false' ); However, as noted in this comment, patterns tagged with numbers above the current WordPress version should not be included in the response. @ryelle |
My quick fix was to remove |
Since this issue does not appear to be related specifically to 6.2, I am removing it from the project board. But please let me know if I am interpreting the issue. |
Those three patterns were set as "6.1+", so they would load in 6.1. Since it sounds like they should be 6.2+, I've updated the meta on each. They should not be loaded on 6.1.x sites anymore. |
@ryelle |
Description
I get this message for every page (event for empty/new pages):
Block validation failed for 'core/group'.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
WordPress 6.1.1 (Fresh installation, no plugins, default theme).
Gutenberg
PHP 8.0
MySQL 8.0.16
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: