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
I'm new to composer, but it seems somehow composer is autoloading the wrong namespace when calling the setup_minor_integrations method.
Fatal error: Uncaught Error: Call to undefined function WPGraphQL\WooCommerce\Functions\setup_minor_integrations() in C:\Users\jonat\Documents\GitHub\gravity\backend\plugins\wp-graphql-woocommerce\includes\class-wp-graphql-woocommerce.php on line 197
@jasonbahl sorry to tag you, but do you know anyone that would be interested in assisting with this? I saw some participants in previous composer bugs but I cannot tag them:
I would love to help out as well if you can point me in the right direction! My knowledge of composer is rather limited at the moment so I'm not sure where to start.
I had a very similar problem I solved it by using the terminal and going into the folder for wpgraphql and wp-graphql/wp-graphql-woocommerce and running "Composer Install" then activate them in that order.
I am quite new to Composer also but the gist i get is that the dependancies they require don't get installed, it may be worth deleting the Composer.lock file before installing
@GPorter43 running composer install inside the wp-graphql-woocommerce directory before activating the extension did solve the issue for me. Thank you so much!
I guess this is still a bug though so will leave for @kidunot89 to decide whether to leave open.
Describe the bug
I'm new to composer, but it seems somehow composer is autoloading the wrong namespace when calling the
setup_minor_integrations
method.To Reproduce
Go to WP admin and activate the plugin to see the error.
Expected behavior
Plugin to activate successfully.
Screenshots
Plugin Versions
Additional context
If I use composer to remove wp-graphql-woocommerce and install the exact same version from the zip file, it works fine.
The text was updated successfully, but these errors were encountered: