-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
Description
Description
I get the following error when i open the explore graphQL page.
{
"errors": [
{
"message": "Union type testCke_CkeditorField_entries must define one or more member types.",
"extensions": {},
"stack": "GraphQLError: Union type testCke_CkeditorField_entries must define one or more member types.\n at p.reportError (https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:105125)\n at E (https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:108364)\n at https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:104706\n at d (https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:104839)\n at $E (https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:745706)\n at va (https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:257699)\n at Cs (https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:271737)\n at Tl (https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:317507)\n at bu (https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:305892)\n at gu (https://tutorial.ddev.site/cpresources/7ecf8d26/graphiql.js?v=1747818330:2:305820)"
}
]
}
Steps to reproduce
- Create a new CKE field (make sure the GraphQL Mode is set to Full data)
- Assign the cke field to any entry
Reason
This occurs because the graphql field has no entry types associated with it but is in GraphQL Full Mode.
Changing either of those "settings" removes the issue.
Additional info
- Craft version: 5.7.7
- PHP version: 8.3.19
- Database driver & version: MySQL 8.0.40
- Plugins & versions: CKEditor 4.8.0
mihob