Background of the issue:
I installed the WPML GraphQL plugin on my site hidden link.
Symptoms:
I get an error after installing the WPML GraphQL plugin.
Schema is invalid: Interface field ProductVariation.translations expects type [ProductVariation] but SimpleProductVariation.translations is type [Product].
Questions:
What is causing the error after installing the WPML GraphQL plugin?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
After reviewing the issue on our local environment, we’ve identified that the problem is caused by the wp-graphql-woocommerce plugin, specifically version 0.21.2.
When testing with an earlier version of the plugin (0.21.0), the issue does not occur.
As an immediate workaround, we recommend downgrading the plugin to version 0.21.0. We are still checking this further.