-
Notifications
You must be signed in to change notification settings - Fork 62
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
blocksJSON error with WordPress 6.5 #204
Comments
It looks like the only way to pass the schema validation is to add the
and then use the new
instead of wp-graphql-gutenberg/src/Blocks/Block.php Line 158 in bacabca
|
Related to the 6.5 Wordpress Update – to this have you noticed that the 'content' attribute on is now no longer valid on the Core Block attributes. If so have you managed to overcome this?
|
@noonstudio you also need to change a couple other files
needs to be
needs to be
|
yes, just realized that. |
I got the same on my local env. Good i found this issuse. |
There seems to be a validation issue with the
blocksJSON
field and WordPress 6.5.This is what I'm seeing
Due to this error the
blocksJSON
field returnsnull
. Reverting to WP 6.4 solves the problem.This is the check that fails:
wp-graphql-gutenberg/vendor/opis/json-schema/src/Validator.php
Lines 554 to 561 in bacabca
wp-graphql-gutenberg/vendor/opis/json-schema/src/IValidatorHelper.php
Line 23 in bacabca
Steps to reproduce:
blocksJSON
fieldThe text was updated successfully, but these errors were encountered: