craftcms / craftcms/cms

[5.x]: GraphiQL erroring and won't load so can't resolve

Open
#16,887 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

What happened?
Description

When I try to open the GraphiQL playground, it never loads, but has these errors in the logs. It works in an incognito window, but still won't when I clear the cache and hard reload.

Image

Steps to reproduce
  1. Not sure, it just stopped working.
Craft CMS version

5.6.11

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the GraphiQL loading failure in Craft CMS 5.6.11 outside an incognito window and inspect the logged errors shown in the report. Gather the missing PHP, operating system, database, and plugin details, then verify that the GraphiQL playground loads normally after the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, php
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.