Skip to content
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

Could not find possible implementing types for VolumeInterface in schema #211

Closed
LeeCampbellr opened this issue Jan 20, 2019 · 1 comment

Comments

@LeeCampbellr
Copy link

LeeCampbellr commented Jan 20, 2019

I'm having an issue with the plugin running 1.2.1 - logged into my Craft install today and the CraftQL query plugin has this error:

{ "error": "Could not find possible implementing types for VolumeInterface in schema. Check that schema.types is defined and is an array of all possible types in the schema." }

Opened the Craft Debug panel and this error is in there:

Category: GraphQL\Error\InvariantViolation.

Message:
GraphQL\Error\InvariantViolation: Could not find possible implementing types for VolumeInterface in schema.Check that schema.types is defined and is an array of all possible types in the schema.in /var/www/vendor / webonyx / graphql - php / src / Utils / Utils.php: 231 Stack trace: #0 /var/www/vendor / webonyx / graphql - php / src / Type / Schema.php(432): GraphQL\Utils\Utils:: invariant(false, 'Could not find ...') #1 /var/www/vendor / markhuot / craftql / src / Services / GraphQLService.php(126): GraphQL\Type\Schema -> assertValid() #2 /var/www/vendor / markhuot / craftql / src / Controllers / ApiController.php(120): markhuot\CraftQL\Services\GraphQLService -> getSchema(Object(markhuot\CraftQL\Models\Token)) #3[internal function]: markhuot\CraftQL\Controllers\ApiController -> actionIndex() #4 /var/www/vendor / yiisoft / yii2 / base / InlineAction.php(57): call_user_func_array(Array, Array) #5 /var/www/vendor / yiisoft / yii2 / base / Controller.php(157): yii\base\InlineAction -> runWithParams(Array) #6 /var/www/vendor / craftcms / cms / src / web / Controller.php(109): yii\base\Controller -> runAction('index', Array) #7 /var/www/vendor / yiisoft / yii2 / base / Module.php(528): craft\web\Controller -> runAction('index', Array) #8 /var/www/vendor / craftcms / cms / src / web / Application.php(297): yii\base\Module -> runAction('craftql/api/ind...', Array) #9 /var/www/vendor / yiisoft / yii2 / web / Application.php(103): craft\web\Application -> runAction('craftql/api/ind...', Array) #10 /var/www/vendor / craftcms / cms / src / web / Application.php(286): yii\web\Application -> handleRequest(Object(craft\web\Request)) #11 /var/www/vendor / yiisoft / yii2 / base / Application.php(386): craft\web\Application -> handleRequest(Object(craft\web\Request)) #12 /var/www/web / index.php(21): yii\base\Application -> run() #13 { main }

UPDATE:
I wonder if these depreciation warnings have anything to do with this?
screen shot 2019-01-21 at 5 27 18 pm

@markhuot
Copy link
Owner

Most likely a duplicate of #210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants