Skip to content
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

Fatal error: Uncaught Error: Class CoreImageBlockToMediaItemConnection #159

Open
vasyl-petrashkevych opened this issue Oct 19, 2022 · 5 comments

Comments

@vasyl-petrashkevych
Copy link

vasyl-petrashkevych commented Oct 19, 2022

Fatal error: Uncaught Error: Class "WPGraphQLGutenberg\Schema\Types\Connection\Blocks\CoreImageBlockToMediaItemConnection" not found
in /var/www/wp-content/plugins/wp-graphql-gutenberg-0.3.12/src/Schema/Schema.php on line 12
image

@miguelvictor
Copy link

+1

@r1987
Copy link

r1987 commented Nov 18, 2022

This seems to be a compability issue with the latest WP GraphQL version (1.12.2) and the current version of WPGraphQL Gutenberg (0.3.12).

@xfloor
Copy link

xfloor commented Nov 24, 2022

+1

@vasyl-petrashkevych
Copy link
Author

vasyl-petrashkevych commented Nov 26, 2022

Add this 'WPGraphQLGutenberg\\Schema\\Types\\Connection\\Blocks\\CoreImageBlockToMediaItemConnection' => __DIR__ . '/../..' . '/src/Schema/Types/Connection/Blocks/CoreImageBlockToMediaItemConnection.php' to the file [plugindir]/vendor/composer/autoload_static.php on line 161. After at the admin page update the block registry

@bmarshall511
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants