-
Notifications
You must be signed in to change notification settings - Fork 642
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
[4.x]: Issue with GraphQL API #11273
Comments
By “playground” are you referring to the built-in GraphiQL IDE ( If you enable Dev Mode, you should be able to see the exact error that’s occurring. Or search the latest |
@brandonkelly
|
It looks like you (somehow) have a section that doesn’t have any entry types. Not possible from the control panel, but maybe it could happen from a project config merge conflict or something like that. The relevant code hasn’t changed in Craft 4, so I’ve made it more defensive for this possibility for the next Craft 3 and 4 releases. You can test the fix by changing your |
Craft 3.7.45 and 4.0.5 are out now with that fix. |
Apologies for not responding to your previous message! Thanks for the help! |
What happened?
Description
After the upgrade from Craft 3 to Craft 4, there has been an issue with the GraphQL playground.
Steps to reproduce
Expected behavior
Open the playground
Actual behavior
Error page showing that there has been an internal server error
Craft CMS version
4.0.2
PHP version
8.0.17
Operating system and version
Linux 4.14.275-207.503.amzn2.x86_64
Database type and version
MySQL 8.0.25
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.0-16)
Installed plugins and versions
Amazon S3 - v2.0.0
Redactor - v3.0.0
The text was updated successfully, but these errors were encountered: