wpengine / wp-graphql-content-blocks

Plugin that extends WPGraphQL to support querying (Gutenberg) Blocks as data
https://faustjs.org/docs/gutenberg/wp-graphql-content-blocks
GNU General Public License v2.0
107 stars 14 forks source link

Fatal error after installing the plugin #124

Closed digi4care closed 1 year ago

digi4care commented 1 year ago

I am getting an error after installing your plugin while i am going to the GraphQL IDE. It keeps loading and never stop loading.

error: Uncaught Error: Class "WPGraphQLContentBlocksRegistryRegistry" not found in /var/www/html/wp-content/plugins/wp-graphql-content-blocks/includes/WPGraphQLContentBlocks.php:179

theodesp commented 1 year ago

Hey @digi4care. This seems strange there is a usage of the Registry class here:

https://github.com/wpengine/wp-graphql-content-blocks/blob/main/includes/WPGraphQLContentBlocks.php#L179

Did you use the releases tab to install the plugin? Since it contains the relevant vendor and autoload packages so that the necessary classes are loaded.

https://github.com/wpengine/wp-graphql-content-blocks/releases

Also which PHP/WP versions are you using?

mindctrl commented 1 year ago

@digi4care going to close this. Feel free to reopen if you're still having issues.