-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Description
When I run gatsby develop
I get a GraphQL error regarding the ACF fields and on the frontend I get an error message.
The shown error message in the terminal console reads
GraphQL Error Unknown type "acf_post_photo".
I started a Gatsby App & WordPress Site from scratch and copied carefully the everything in order. I also changed the acf field names in the backend and in templates/post.js
When I delete all code respective to ACF from templates/post.js the app builds just fine and all regular wordpress content is shown.
The curios thing is, that when I run a query from GraphiQL it successfully pulls all the acf fields and content.
These are all my plugins in WordPress
This is my edited code from templates/post.js
There were already several similar issues, though none brought a solution. Hopefully somebody can help? (Sorry about not keeping it short 🌚)