schema is not available
-
Hi,
I need a help with wp-graphql plugin.
I can not use GraphQL IDE to check query results and it does not show the schema. It consoles the error below.
“debugMessage”: “Call to undefined method WPGraphQL\Types::boolean()”,
“message”: “Internal server error”,
“extensions”: {
“category”: “internal”
},
“locations”: [
{
“line”: 15,
“column”: 5
}
],
“path”: [
“__schema”,
“types”
],
“trace”: [
{
“file”: “…./public/wp-content/plugins/wp-graphql-meta/wp-graphql-meta.php”,
“line”: 59,
“function”: “WPGraphQL\Extensions\Meta\resolve_meta_type(‘boolean’, true)”
},
{
“file”: “…./public/wp-content/plugins/wp-graphql-meta/wp-graphql-meta.php”,
“line”: 27,
“function”: “WPGraphQL\Extensions\Meta\add_meta_fields(array(49), ‘post’)”
},The query on the IDE:
query MyQuery {
blogs{
edges {
node {
slug
}
}
}
}The query response is as follow.
{
“errors”: [
{
“message”: “Cannot query field \”blogs\” on type \”RootQuery\”. Did you mean \”tags\”?”,
“extensions”: {
“category”: “graphql”
},
“locations”: [
{
“line”: 2,
“column”: 3
}
]
}
],Any advice is appreciated.
Regards
Semih
- You must be logged in to reply to this topic.