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

version 0.3.12 ( shown as 0.3.11) breaks the Graphql IDE #153

Open
vstrelianyi opened this issue Jul 20, 2022 · 22 comments
Open

version 0.3.12 ( shown as 0.3.11) breaks the Graphql IDE #153

vstrelianyi opened this issue Jul 20, 2022 · 22 comments

Comments

@vstrelianyi
Copy link

when updated to the latest version version 0.3.12 ( shown as 0.3.11) the Graphql IDE stops working

@anoopd
Copy link

anoopd commented Jul 29, 2022

Yea it is showing never ending spinner only . :(

@kittabit
Copy link

Same issue on my end, tried with the newest plugin and newest version of WordPress along with 5.x build to test :(

@insaurabh
Copy link

Getting this issue when enabled the plugin.

[Mon Aug 01 16:52:17.021567 2022] [php7:error] [pid 4519] [client 127.0.0.1:53528] PHP Fatal error: Uncaught Error: Class 'WPGraphQLGutenberg\Schema\Types\Connection\Blocks\CoreImageBlockToMediaItemConnection' not found in

@naveen1092
Copy link

@insaurabh can you share the line number and file name?

@insaurabh
Copy link

insaurabh commented Aug 1, 2022

@naveen1092

It's inside src/Schema/Schema.php at line 12

@anas-koraspond
Copy link

same issue

@shalawfatah
Copy link

same issue
PHP Fatal error: Uncaught Error: Class "WPGraphQLGutenberg\\Schema\\Types\\Connection\\Blocks\\CoreImageBlockToMediaItemConnection" not found in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Schema.php:12

@MattBonacini
Copy link

MattBonacini commented Aug 15, 2022

Same error here, tried in Local by Flywheel dev env. and on a regular shared wp hosting - just to try 2 different environments. You also get a fatal error if you try to go to the GraphQL url: https://your_site_here.com/graphql

EDIT: this was tried on a fresh WP install with only the Twenty Twenty theme, this plugin, and of course the WP GraphQL plugin

@naveen1092
Copy link

naveen1092 commented Aug 16, 2022

@MattBonacini @shalawfatah @anas-koraspond @kittabit @insaurabh @vstrelianyi use this one: https://drive.google.com/file/d/1lvu14AGV_il5Zgc2GgIW-LEMnvRRTGw0/view?usp=sharing

@anoopd
Copy link

anoopd commented Aug 17, 2022

@naveen1092 Is that a fork or ??

@primenest
Copy link

primenest commented Aug 18, 2022

The changes proposed by @naveen1092 in the shared file solve the problem.

@naveen1092 could you please propose make your changes to this project by creating a PR in this repo?

@warudin
Copy link

warudin commented Aug 19, 2022

Same problem, unfortunately.

@brunoenribeiro
Copy link

Same problem here

@anirudh7
Copy link

+1

@bkaldor
Copy link

bkaldor commented Oct 19, 2022

same problem

@smujmaiku
Copy link

I have braved the google drive link and submitted a PR with @naveen1092 's code. @bkaldor and I are going to go over the code tomorrow then I'll move it from drafts to some other status. Feel free to comment on the PR too, it is linked above.

@justlevine
Copy link

@smujmaiku @naveen1092 am I missing something or is the entire changeset just a regenerated composer autoloader?

@imran-ag
Copy link

imran-ag commented Nov 9, 2022

Still having the issue even with @naveen1092 code. I tried the previous versions as well with no success.

@justlevine
Copy link

@imran-ag if you run composer install --no-dev --optimize-autoloaderdoes it get fixed?

@imran-ag
Copy link

No, still getting these errors
[10-Nov-2022 16:18:54 UTC] PHP Fatal error: Uncaught WPGraphQLGutenberg\Blocks\RegistryNotSourcedException: Client side block registry is missing. You need to open up gutenberg or load it from WPGraphQLGutenberg Admin page. in C:\Users\app\public\wp-content\plugins\wp-graphql-gutenberg-0.3.12\src\Blocks\Registry.php:41
Stack trace:
#0 C:\Users\app\public\wp-content\plugins\wp-graphql-gutenberg-0.3.12\src\Schema\Types\BlockTypes.php(263): WPGraphQLGutenberg\Blocks\Registry::get_registry()
#1 C:\Users\app\public\wp-includes\class-wp-hook.php(308): WPGraphQLGutenberg\Schema\Types\BlockTypes->WPGraphQLGutenberg\Schema\Types{closure}(Object(WPGraphQL\Registry\TypeRegistry))
#2 C:\Users\app\public\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#3 C:\Users\app\public\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
#4 C:\Users\app\public\wp-content\plugins\wp-graphql-gutenberg-0.3.12\src\Blocks\Registry.php on line 41

@imran-ag
Copy link

PHP Fatal error: Uncaught WPGraphQLGutenberg\Blocks\RegistryNotSourcedException:

I solved this issue by disabling Classic Editor Plugin. Shouldve known. It's always a plugin conflict

@felix-berlin
Copy link

The problem persist in version 0.4.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

Successfully merging a pull request may close this issue.