Open Bbahri opened 3 years ago
In fact, I have the same problem when only creating 6 attributes, and even without associating them to a product. Then I got a 500 error.
Hello!
I had similar problems, to solve, I renamed the categories and attributes that were plural to singular.
Ok Thanks for the tip :) I don't think that this could resolve my issue because this happened with singular names for me, but it could help someone else. I finally uninstalled Woo-commerce and handled my e-commerce features client side using Stripe...
I am currently seeing this issue with WPGraphQL 1.3.5 if Custom Post Type UI 1.9.1 plugin is enabled. Latest version of both.
I am currently seeing this issue with WPGraphQL 1.3.5 if Custom Post Type UI 1.9.1 plugin is enabled. Latest version of both.
Checks that the identifier is not with the same name in the singular field and in the plural field
Describe the bug Getting a 500 error when trying to fetch the GraphQl Schemas or when fetching product via GraphQl Api.
To Reproduce Install a fresh and virgin Wordpress. Install plugins:
Steps to reproduce the behavior: Add 6 attributes with 2 terms for each. Create a product. Add all thoses attributes to the product. Generate variants for each product attributes. Go to GraphiQl IDE, open the webbrowser console and see a 500 internal error. The schemas does'nt load. A request to GraphlQL respond with a 500 error.
Expected behavior You can fetch your products and the schemas can load in the IDE without errors.
Screenshots
Desktop (please complete the following information):
Additional context When i remove attributes, I don't have the bug anymore. I tried to increase the max linked variations in function.php like this: define('WC_MAX_LINKED_VARIATIONS', 500); It seems to let me add more attributes than 2 before I see the 500 error. It seems that I see the 500 error when just adding 2 attributes without increasing the Max Linked Variations.
I'm on this error for 2 days now and I have no solution :/ Any idea ?
Thanks ! :)