WebDevStudios / nextjs-wordpress-starter

A headless starter for WordPress powered by Next.js.
https://webdevstudios.github.io/nextjs-wordpress-starter/
GNU General Public License v2.0
733 stars 127 forks source link

WP GraphQL Gutenberg #1013

Open rossberenson opened 2 years ago

rossberenson commented 2 years ago

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!

emilse-webdev commented 2 years ago

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

sloyer commented 2 years ago

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 commented 2 years ago

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