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

No schema available in graphiql IDE after activating plugin #920

Open
olicarignan opened this issue Feb 19, 2025 · 0 comments
Open

No schema available in graphiql IDE after activating plugin #920

olicarignan opened this issue Feb 19, 2025 · 0 comments

Comments

@olicarignan
Copy link

Describe the bug
When I active the wp-graphql-woocommerce plugin I lose access to the schema and I get a 500 error on the page. I turned on debug mode on wpgraphql but it doesn't seem to log any meaningful information. Here is the error I am getting in the console:

Failure running getIntrospectionQuery: {
  "name": "ApolloError",
  "graphQLErrors": [],
  "protocolErrors": [],
  "clientErrors": [],
  "networkError": {
    "name": "ServerError",
    "response": {},
    "statusCode": 500,
    "result": {
      "code": "internal_server_error",
      "message": "<p>There has been a critical error on this website.</p><p><a href=\"https://wordpress.org/documentation/article/faq-troubleshooting/\">Learn more about troubleshooting WordPress.</a></p>",
      "data": {
        "status": 500
      },
      "additional_errors": []
    }
  },
  "message": "Response not successful: Received status code 500",
  "cause": {
    "name": "ServerError",
    "response": {},
    "statusCode": 500,
    "result": {
      "code": "internal_server_error",
      "message": "<p>There has been a critical error on this website.</p><p><a href=\"https://wordpress.org/documentation/article/faq-troubleshooting/\">Learn more about troubleshooting WordPress.</a></p>",
      "data": {
        "status": 500
      },
      "additional_errors": []
    }
  }
}

To Reproduce
Steps to reproduce the behavior:

  1. Install wpgraphql
  2. Install woographql
  3. Go to the graphiql IDE page
  4. Open the query composer

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Firefox
  • Version: v.135.0

Plugin Versions

  • WooGraphQL Version: 0.21.0
  • WPGraphQL Version: 2.0.0
  • WordPress Version: 6.7.2
  • WooCommerce Version: 9.6.2

Additional context

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

1 participant