You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a gatsby website where I use wordpress and woocommerce. Lately I installed WPML for multi language support and when I try to run project I got this error: There was an error in your GraphQL query: Field "language" is not defined by type "WPWCContent_RootQueryToProductUnionConnectionWhereArgs".
It seems that I can't query posts based on language field. I can only get my original products without translation.
Things that might be worth noticing is that I use two plugins to source from wordpress: gatsby-source-graphql and gatsby-source-wordpress. I do that to fetch optimised images from gatsby-source-wordpress (but it doesn't work with WPML). How can I fix it?
Expected behavior
I would like to be able to fetch data from Woocommerce based on a language parameter.
Plugin Versions
WooGraphQL Version: 0.18.1
WPGraphQL Version: 1.16.0
WordPress Version: 6.3.1
WooCommerce Version: 8.1.1
The text was updated successfully, but these errors were encountered:
Having same issue even in playground. I can query product by language, I can query posts where language all. But I can not query products where language all. No connection for products and languages.
Describe the bug
I have a gatsby website where I use wordpress and woocommerce. Lately I installed WPML for multi language support and when I try to run project I got this error:
There was an error in your GraphQL query: Field "language" is not defined by type "WPWCContent_RootQueryToProductUnionConnectionWhereArgs".
It seems that I can't query posts based on language field. I can only get my original products without translation.
Things that might be worth noticing is that I use two plugins to source from wordpress:
gatsby-source-graphql
andgatsby-source-wordpress
. I do that to fetch optimised images fromgatsby-source-wordpress
(but it doesn't work with WPML). How can I fix it?Expected behavior
I would like to be able to fetch data from Woocommerce based on a language parameter.
Plugin Versions
The text was updated successfully, but these errors were encountered: