-
Notifications
You must be signed in to change notification settings - Fork 681
Description
Description
Just updated Craft to latest 3.3.3 from 3.0 (non GraphQL). Enabled entries and categories in Public Schema. When I go to /admin/graphql the explorer it says:
NO SCHEMA AVAILABLE
and
{
"error": "Something went wrong when processing the GraphQL query."
}
I see that my public schema is selected in the list and its enabled.
If I just press play with no query it says:
{
"errors": [
{
"message": "Syntax Error: Unexpected <EOF>",
"category": "graphql",
"locations": [
{
"line": 1,
"column": 1
}
]
}
]
}
And yes, the documentation explorer is blank. I've tried other Craft setup and they worked fined with GraphQL, but I have only tried with 3.3.0.1.
In the console I have 2 errors
500 - Failed to load resource - /actions/graphql/api
However, when I downgrade to Craft Pro 3.3.0.1 I get totally different error and Admin locks up.
Call to undefined method craft\helpers\Stringy::langSpecificCharsArray()
in /source/vendor/craftcms/cms/src/helpers/Stringy.php (line 32)
30 public static function getLangSpecificCharsArray(string $language = 'en'): array
31 {
32 return static::langSpecificCharsArray($language);
33 }
source/vendor/craftcms/cms/src/helpers/StringHelper.php at line 135 – craft\helpers\Stringy::getLangSpecificCharsArray('en')
source/vendor/craftcms/cms/src/web/assets/cp/CpAsset.php at line 254 – craft\helpers\StringHelper::asciiCharMap(true, 'en')
From what I can tell in composer voku/stringy downgrades to 5.1.1 when installing Craft 3.3.3, why is that?
Removing voku/stringy (5.2.0)
Installing voku/stringy (5.1.1)
Steps to reproduce
- Upgrade to latest Craft 3.3.3
- Ran DB update changes
- Enable entries etc in Public Schema
- Go to the GraphQL explorer
- No schema found
Additional info
- Craft version: 3.3.3
- PHP version: 7.0.33
- Plugins & versions:
Super Table 2.3.0
AWS S3 1.2.5
Element API 2.6.0
Feed Me 4.1.2