schema is not available | WordPress.org

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer