Skip to content

After Upgrading from v15.30.2 => v15.31.0 Error: " {"exception":"[object] (GraphQL\\Error\\Error(code: 0): Config element \"String\" is not declared in GraphQL schema at " #1874

@ECOPLANCOM

Description

@ECOPLANCOM

In Magento 2 you get an error by running graphQL Queries after update ro v15.31.0
{"exception":"[object] (GraphQL\\Error\\Error(code: 0): Config element \"String\" is not declared in GraphQL schema at /var/www/share/XXX/releases/2026-03-16_08-12-13/vendor/webonyx/graphql-php/src/Error/Error.php:171) [previous exception] [object] (LogicException(code: 0): Config element \"String\" is not declared in GraphQL schema at /var/www/share/XXX/releases/2026-03-16_08-12-13/vendor/magento/framework/GraphQl/Config.php:57)"} [] [2026-03-16T07:30:40.265890+00:00] main.ERROR: Config element "String" is not declared in GraphQL schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions