We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug "No Schema Available" in Explorer in GraphiQL IDE
To Reproduce Steps to reproduce the behavior:
Expected behavior The list of queries are available in the Explorer.
Desktop (please complete the following information):
Plugin Versions
Additional context
Error log at the server:
2021-03-18 02:16:40.495649 [NOTICE] [1050] [158.140.xxx.xxx:38275:HTTP2-59#wordpress] [STDERR] PHP Fatal error: Uncaught GraphQL\Error\InvariantViolation: The pa_qty-pcs taxonomy cannot declare the same value for "graphql_single_name" and "graphql_plural_name". in /var/www/html/wp-content/plugins/wp-graphql/src/ Registry/TypeRegistry.php:457 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(287): WPGraphQL\Registry\TypeRegistry->init_type_registry(Object(WPGraphQL\Registry\TypeRegistry)) #1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /var/www/html/wp-content/plugins/wp-graphql/src/Registry/TypeRegistry.php(197): do_action('init_graphql_ty...', Object(WPGraphQL\Registry\TypeRegistry)) #4 /var/www/html/wp-content/plugins/wp-graphql/src/Registry/SchemaRegistry.php(37): WPGraphQL\Registry\TypeRegistry->init() #5 /var/www/html/wp-content/plugins/wp-graphql/src/WPGraphQL.php(576): WPGraphQL\Registry\SchemaRegistry->get_schema() #6 /var/www/html/wp-content/plugins/wp-graphql/src/Request.php(143): WPGraph in /var/www/html/wp-content/plugins/wp-graphql/src/Registry/TypeRegistry.php on line 457
I also got some errors at the console, but I believe the PHP error log is more crucial.
The text was updated successfully, but these errors were encountered:
It's likely due to the name of your qty-pcs attribute ending in an s. Can you rename it to singular (qty-pc) instead?
qty-pcs
s
qty-pc
See #412 for more details.
Sorry, something went wrong.
Thanks Jacob, I've removed the s and renamed it to qty-pc. All is working now.
No branches or pull requests
Describe the bug
"No Schema Available" in Explorer in GraphiQL IDE
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The list of queries are available in the Explorer.
Desktop (please complete the following information):
Plugin Versions
Additional context
Error log at the server:
2021-03-18 02:16:40.495649 [NOTICE] [1050] [158.140.xxx.xxx:38275:HTTP2-59#wordpress] [STDERR] PHP Fatal error: Uncaught GraphQL\Error\InvariantViolation: The pa_qty-pcs taxonomy cannot declare the same value for "graphql_single_name" and "graphql_plural_name". in /var/www/html/wp-content/plugins/wp-graphql/src/
Registry/TypeRegistry.php:457
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(287): WPGraphQL\Registry\TypeRegistry->init_type_registry(Object(WPGraphQL\Registry\TypeRegistry))
#1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#2 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /var/www/html/wp-content/plugins/wp-graphql/src/Registry/TypeRegistry.php(197): do_action('init_graphql_ty...', Object(WPGraphQL\Registry\TypeRegistry))
#4 /var/www/html/wp-content/plugins/wp-graphql/src/Registry/SchemaRegistry.php(37): WPGraphQL\Registry\TypeRegistry->init()
#5 /var/www/html/wp-content/plugins/wp-graphql/src/WPGraphQL.php(576): WPGraphQL\Registry\SchemaRegistry->get_schema()
#6 /var/www/html/wp-content/plugins/wp-graphql/src/Request.php(143): WPGraph in /var/www/html/wp-content/plugins/wp-graphql/src/Registry/TypeRegistry.php on
line 457
I also got some errors at the console, but I believe the PHP error log is more crucial.
The text was updated successfully, but these errors were encountered: