Title: Error when activating the plugin
Last modified: December 17, 2021

---

# Error when activating the plugin

 *  Resolved [Jambena](https://wordpress.org/support/users/jambena/)
 * (@jambena)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-when-activating-the-plugin-20/)
 * Hello, I am having trouble activating this plugin.
    I have followed you troubleshooting
   guide, tried with another theme and also deactivating all other plugins, but 
   the issue persists.
 * I get the following error:
 * Fatal error: Uncaught Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\
   Container\Exception\NotFoundException: Alias (Automattic\WooCommerce\GoogleListingsAndAds\
   Tracking\Events\ActivatedEvents) is not being managed by the container or delegates
   in /var/www/loveknots.dk/public_html/wp-content/plugins/google-listings-and-ads/
   vendor/league/container/src/Container.php:188 Stack trace: #0 /var/www/loveknots.
   dk/public_html/wp-content/plugins/google-listings-and-ads/src/Container.php(90):
   Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container-
   >get(‘Automattic\\WooC…’) #1 /var/www/loveknots.dk/public_html/wp-content/plugins/
   google-listings-and-ads/src/Infrastructure/GoogleListingsAndAdsPlugin.php(61):
   Automattic\WooCommerce\GoogleListingsAndAds\Container->get(‘Automattic\\WooC…’)#
   2 /var/www/loveknots.dk/public_html/wp-content/plugins/google-listings-and-ads/
   google-listings-and-ads.php(49): Automattic\WooCommerce\GoogleListingsAndAds\
   Infrastructure\GoogleListingsAndAdsPlugin->activate() #3 /var in /var/www/loveknots.
   dk/public_html/wp-content/plugins/google-listings-and-ads/vendor/league/container/
   src/Container.php on line 188
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-activating-the-plugin-20%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [fevered – a11n](https://wordpress.org/support/users/fevered/)
 * (@fevered)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-when-activating-the-plugin-20/#post-15176533)
 * Hey there!
 * Could you please share a copy of your site’s System Status? You can find it via
   WooCommerce > Status. Select “Get system report” and then “Copy for support”.
   Once you’ve done that, paste it here in your response.
 * Additionally, can you provide details on where you got the file for installation
   from?
 *  [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-when-activating-the-plugin-20/#post-15198996)
 * Hi [@jambena](https://wordpress.org/support/users/jambena/),
 * Since we haven’t heard from you in a while, we’re hoping that means you were 
   able to get this resolved. I’m going to close this thread out now.
 * If you’re still having trouble, please open up a new topic and we’ll be happy
   to help out.
 * Take care

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error when activating the plugin’ is closed to new replies.

 * ![](https://ps.w.org/google-listings-and-ads/assets/icon.svg?rev=2775988)
 * [Google for WooCommerce](https://wordpress.org/plugins/google-listings-and-ads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-listings-and-ads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-listings-and-ads/)
 * [Active Topics](https://wordpress.org/support/plugin/google-listings-and-ads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-listings-and-ads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-listings-and-ads/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/error-when-activating-the-plugin-20/#post-15198996)
 * Status: resolved