Coder Social home page Coder Social logo

Comments (4)

justlevine avatar justlevine commented on June 2, 2024

@scesini

  1. Why is the title in ALL CAPS?

  2. You ostensibly chose to fill out a Bug Report, but then you write up what seems to be a usage question. Is this a usage question, and if so have you tried have you tried asking in Slack or GitHub Discussions?

  3. You've confirmed that you " disabled ALL plugins except for WPGraphQL.", but then you ask a question about language and products, neither of which are core WordPress / WPGraphQL features. Are you using Woo, EDD, or your own custom post type for products? And what Plugin/extension are you using to handle the languages?
    Regardless of the answer, you probably are better off asking in the repo for those particular extensions...

If there is a bug somewhere lost in all of this, please update the ticket to elaborate on what it is, provide replication steps, and confirm that you actually searched the existing GitHub issues, and that it's coming from Core WPGraphQL and not an external plugin.

from wp-graphql.

scesini avatar scesini commented on June 2, 2024

I have used the query I shared a few months ago and looks like is not working anymore.
01

And I need to have enabled the plugins:

  • WPGraphQL
  • WPGraphQL WooCommerce (WooGraphQL)
  • WPML Multilingual CMS
  • WooCommerce Multilingual & Multicurrency
  • WPML GraphQL

from wp-graphql.

justlevine avatar justlevine commented on June 2, 2024

Thank you for the follow up, @scesini

As expected, you are relying on the WPGraphQL for WooCommerce (free) and the WPML GraphQL (paid) extensions. Have you updated either of them recently? If so you found the culprit. Check the changelogs to see if/how the query changed and how you should be querying for products for a certain language.

If not, you can open up the Documentation Explorer on the right side of the GraphQL IDE and search the term "language". That should show you all the fields in your schema that accept the arg or return it as a field. You can use that to redesign your GraphQL query.

If you still cant get it sorted, I suggest you reach out to WPML's premium support directly, or ask in the #woocommerce channel on the WPGraphQL Slack for example GraphQL queries.

from wp-graphql.

justlevine avatar justlevine commented on June 2, 2024

Hey @scesini ,

It's been a few weeks with no response, so I'm going to assume you found the culprit among your other plugins in your tech stack stack and close this ticket out.

If you're able to replicate this as a regression in WPGraphQL core (i.e. all your extensions are on the same versions, but one version of WPGraphQL works and the next version doesn't), please comment back here and we'll reopen this for investigation 🙏

from wp-graphql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.