• justinpchew

    (@justinpchew)


    I just installed the plugin and am getting an error which then requires me to have to go into the /wp-admin login under recovery mode. Below is a paste of the error I’m receiving.

    Can anyone help troubleshoot?

    An error of type?E_ERROR?was caused in line?18?of the file?/home4/ellochewy/thewestcoastchef.com/wp-content/plugins/google-listings-and-ads/src/TaskList/CompleteSetupTask.php. Error message:?Uncaught Error: Class "Automattic\WooCommerce\Admin\Features\OnboardingTasks\Task" not found in /home4/ellochewy/thewestcoastchef.com/wp-content/plugins/google-listings-and-ads/src/TaskList/CompleteSetupTask.php:18 Stack trace: #0 /home4/ellochewy/thewestcoastchef.com/wp-content/plugins/google-listings-and-ads/vendor/jetpack-autoloader/class-php-autoloader.php(90): require() #1 [internal function]: Automattic\Jetpack\Autoloader\jpdc1c866ff5a5faf503e7f4899f251f63\al3_0_2\PHP_Autoloader::load_class('Automattic\\WooC...') #2 /home4/ellochewy/thewestcoastchef.com/wp-content/plugins/google-listings-and-ads/src/Internal/DependencyManagement/AbstractServiceProvider.php(73): class_implements('Automattic\\WooC...') #3 /home4/ellochewy/thewestcoastchef.com/wp-content/plugins/google-listings-and-ads/src/Internal/DependencyManagement/CoreServiceProvider.php(315): Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\AbstractServiceProvider->share_with_tags('Automattic\\WooC...') #4 /home4/ellochewy/thewestcoastchef.com/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/ServiceProvider/ServiceProviderAggregate.php(102): Automattic\WooCommerce\GoogleListingsAndAds\Internal\DependencyManagement\CoreServiceProvider->register() #5 /home4/ellochewy/thewestcoastchef.com/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(172): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\ServiceProvider\ServiceProviderAggregate->register('Automattic\\WooC...') #6 /home4/ellochewy/thewestcoastchef.com/wp-content/plugins/google-listings-and-ads/src/Container.php(90): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #7 /home4/ellochewy/thewestcoastchef.com/wp-content/plugins/google-listings-and-ads/src/Infrastructure/GoogleListingsAndAdsPlugin.php(105): Automattic\WooCommerce\GoogleListingsAndAds\Container->get('Automattic\\WooC...') #8 /home4/ellochewy/thewestcoastchef.com/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\GoogleListingsAndAdsPlugin->Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\{closure}('') #9 /home4/ellochewy/thewestcoastchef.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #10 /home4/ellochewy/thewestcoastchef.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /home4/ellochewy/thewestcoastchef.com/wp-settings.php(700): do_action('init') #12 /home4/ellochewy/thewestcoastchef.com/wp-config.php(79): require_once('/home4/ellochew...') #13 /home4/ellochewy/thewestcoastchef.com/wp-load.php(50): require_once('/home4/ellochew...') #14 /home4/ellochewy/thewestcoastchef.com/wp-admin/admin.php(34): require_once('/home4/ellochew...') #15 /home4/ellochewy/thewestcoastchef.com/wp-admin/plugins.php(10): require_once('/home4/ellochew...') #16 {main} thrown

Viewing 1 replies (of 1 total)
  • Plugin Support Reynier C. (woo-hc)

    (@reynierc)

    Hi @justinpchew ,

    Thank you for providing much detail about what you’re experiencing.

    The error you’re seeing is typically caused when the plugin is trying to use a class that it expects to find, but for some reason, that class isn’t available. This might happen if the plugin itself wasn’t installed correctly, if files are missing, or if there’s a compatibility issue with another plugin or with the version of WooCommerce you’re running.

    Here’s a quick step that usually helps:

    1. Deactivate and delete the “Google Listings and Ads” plugin.
    2. Make sure your version of WooCommerce is up to date.
    3. Reinstall the “Google Listings and Ads” plugin from the WooCommerce dashboard.

    Please give that a try and if the error keeps showing up, get back to us with more details. We’d also appreciate if you could share with us the system status report which can be found by navigating to WooCommerce → Status, then selecting “Get system report” and clicking “Copy for Support.”

    Looking forward to getting this sorted out.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.