You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just added flexible content field to one of my templates and after I input some content in, I tried building my local it keep giving me this error on my terminal:
ERROR UNKNOWN
gatsby-source-wordpress (undefined) location: line 644, column: 12. location:
line 1007, column: 12
Cannot spread fragment "ContentNodeFragment" within itself via
PageFlexibleContentFragment.
Error path: undefined
If you haven't already, try adding define( 'GRAPHQL_DEBUG', true ); to your
wp-config.php for more detailed error messages.
ERROR UNKNOWN
Error from GraphQL IDE:
{
"debugMessage": "GraphQL\\Type\\Schema::getImplementations(): Return value must be of type GraphQL\\Utils\\InterfaceImplementations, null returned",
"message": "Internal server error",
"extensions": {
"category": "internal"
},
@smorfe according to the error, you are trying to nest a fragment within itself which could lead to infinite recursion and the error is telling you that you cannot do this. If you share your query, I can help you refactor it to something that would work, but the issue is that the ContentNodeFragment is being used as a child of itself which will lead to infinite recursion, so the query and fragment need to be changed to avoid recursion.
Description
I just added flexible content field to one of my templates and after I input some content in, I tried building my local it keep giving me this error on my terminal:
Error from GraphQL IDE:
Steps to reproduce
n/a
PHP or JSON export of the ACF Field Group(s)
acf-export-2024-09-14.json
Additional context
No response
WPGraphQL Version
1.28.1
WPGraphQL For ACF Version
2.4.1
ACF (Advanced Custom Fields) Version. Free or Pro?
v6.3.6 Pro
WordPress Version
6.6.1
PHP Version
8.2
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.
The text was updated successfully, but these errors were encountered: