WPforGraphQL for ACF plugin upgrade leading to build errors #220
Unanswered
DanielNicholson
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
JAMStack frontend not building upon upgrade to new version of WPGraphQL for ACF plugin.
Working on a JAMStack framework using a Gatsby.js frontend site that queries a headless WordPress CMS via GraphQL.
I need to upgrade plugin
WPGraphQL for Advanced Custom Fields
version 0.4.1 toWPGraphQL for ACF
version 2.2.0.After switching to the new version of the plugin, I encounter an error when running the
gatsby develop
command to run the site locally:Side note:
'GRAPHQL_DEBUG'
is already set totrue
.The error message above suggests an issue with the schema.
I previously thought that the issue might lie within the query strings in the Gatsby project. For the purpose of testing this issue, I've set up a bare-bones Gatsby.js project - which doesn't contain any GraphQL queries, only a configured
gatsby-source-wordpress
plugin that points to the same WP site. Here is the code ingatsby-config.js
:I'm still getting the same error message. Any ideas on what could be causing this?``
Beta Was this translation helpful? Give feedback.
All reactions