nextjs-wordpress-starter icon indicating copy to clipboard operation
nextjs-wordpress-starter copied to clipboard

WP GraphQL Gutenberg

Open rossberenson opened this issue 3 years ago • 3 comments

When WP GraphQL Gutenberg is active, I receive a 500 error saying that blockJSON can not be found. This is on an unmodified, clean install of both WordPress and the Starter.

Update: I'm no longer getting the error that blockJSON could not be found because the plugin is active. When it's disabled, that error appears. All other errors specified still exist.

When the plugin is active, the GraphiQL IDE no longer will load and there are js errors in the console.

To Reproduce

  1. Activate WP GraphQL Gutenberg
  2. Click on GraphiQL IDE or go to the homepage on localhost:3000 to see the 500 error.
  3. Scratch your head and go, what the?

Screenshots Screen Shot 2022-05-24 at 11 41 10 PM Screen Shot 2022-05-24 at 11 41 37 PM Screen Shot 2022-05-24 at 11 42 08 PM

Using Mamp PRO 6 for my local server.

Any help would be appreciated. Not urgent since I'm just testing the headless waters.

Thanks!

rossberenson avatar May 25 '22 03:05 rossberenson

Hi, Can you try this step https://webdevstudios.github.io/nextjs-wordpress-starter/docs/backend#update-block-registry Thanks,

emilse-webdev avatar Jun 01 '22 01:06 emilse-webdev

Running into same issue.

WP 5.9.3 Latest plugins Downgraded GraphQL to 1.6.9 as the new one has issues on current sites as well.

sloyer avatar Jun 08 '22 01:06 sloyer

I rolled back plugins from a previous install and that seemed to be the fix for uss

sloyer avatar Jun 08 '22 02:06 sloyer