-
-
Notifications
You must be signed in to change notification settings - Fork 29
Build error on Gatsby when activate WPGraphql with Gravity Form #448
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
Comments
Thanks for reporting this @suhailsola . TBH I thought Doesn't seem like the PHP Notice is directly related to your 500 error (both because PHP Notices don't throw a 500, and because GFFieldChoice is an object that only attaches to Form Field objects, and not Additionally I recommend you follow these debugging steps: specifically trying to replicate the query first in Gatsby's Playground, and then in the WPGraphQL IDE (note: you'll need to translate those automagical Gatsby field renames to what used by vanilla GraphQL). This will both narrow down the error to a specific part of the schema as well as determine if it's a bug in |
Hi @justlevine , thank you for taking the time to review this. I've followed the debug steps and replicate the query for inside the WPGraphQL IDE and received this error
I've added the file for the query that is receiving error here |
@suhailsola Are you updating from a wp-graphql version before 1.28? You might want to check out this change in wp-graphql that was made in 1.28.0 Specifically, the change made in Registry/TypeRegistry.php The extra check for the introspection_query might be causing setting the eager_type_map array to get skipped over. |
No, I am not updating from any old version, I installed the latest version available as I am working on my project |
@suhailsola - ken's recommendation above is to see if downgrading to WPGraphQL core < 1.27.x fixes things for you. |
Description
Error received on Gatsby
Debug.log on Wordpress
Error happens when I activate the WPGraphql for Gravity Form
Steps to reproduce
Need to run wordpress and gatsby
Additional context
No response
Plugin Version
0.13.0.1
Gravity Forms Version
2.7.7
WordPress Version
6.5.5
WPGraphQL Version
1.29.3
Additional enviornmental details
Running on Gatsby v5.13.7
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for Gravity Forms, WPGraphQL, and WPGraphQL for Gravity Forms
The text was updated successfully, but these errors were encountered: