wp-graphql / woographql-subscriptions

Adds WooCommerce Subscriptions types and functionality to your WPGraphQL API.
MIT License
14 stars 11 forks source link

Call to undefined method WPGraphQL\WooCommerce #1

Closed bruno-barros closed 3 years ago

bruno-barros commented 3 years ago

Hi @kidunot89

I'm using:

    "wp-graphql/wp-graphql": "0.9.1",
    "wp-graphql/wp-graphql-acf": "0.3.4",
    "wp-graphql/wp-graphql-jwt-authentication": "0.4.1",
    "wp-graphql/wp-graphiql": "1.0",
    "wp-graphql/wp-graphql-woocommerce": "0.6.1",

and some methods do not exists on WPGraphQL\WooCommerce class.

Call to undefined method WPGraphQL\WooCommerce\Type\WPObject\Product_Types::get_virtual_data_fields()
Call to undefined method WPGraphQL\WooCommerce\Type\WPObject\Product_Types::get_pricing_and_tax_fields()

Which version are you working on?

Thanks for your help!

kidunot89 commented 3 years ago

@bruno-barros Try pulling the develop branch of wp-graphql/wp-graphql-woocommerce. WooGraphQL-Subscriptions may rely on some unreleased functionality on WooGraphQL.

bruno-barros commented 3 years ago

Yep! dev-develop solved the issue. :-)