Title: Logging ERror When Trying to Activate
Last modified: November 29, 2022

---

# Logging ERror When Trying to Activate

 *  [chaefrancis1](https://wordpress.org/support/users/chaefrancis1/)
 * (@chaefrancis1)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/logging-error-when-trying-to-activate/)
 * Hi guys,
 * Im trying to set the plugin up, but after isntallation i get the below error:
 * Plugin could not be activated because it triggered a fatal error.
    Fatal error:
   Cannot declare class Logger, because the name is already in use in /home/festiibc/
   public_html/wp-content/plugins/tiktok-for-woocommerce/logging/Logger.php on line
   17
 * How do i fix this?

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

 *  Plugin Contributor [TikTok](https://wordpress.org/support/users/tiktokforbusiness/)
 * (@tiktokforbusiness)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/logging-error-when-trying-to-activate/#post-16248641)
 * [@chaefrancis1](https://wordpress.org/support/users/chaefrancis1/) – Thanks for
   reaching out! It sounds like you may have an existing TikTok for WooCommerce 
   Plugin installed already that is causing a conflict.
 * Please provide some additional information to help debug this issue:
    – Where
   did you install/download the TikTok for WooCommerce Plugin from? – Did you install
   the Plugin from both the WooCommerce App marketplace AND WordPress.org? – Do 
   you currently have two Plugins listed on the WordPress Admin > Plugins for TikTok
   for WooCommerce?
 * For more context: We’ve seen similar errors occur when downloading/installing
   the TikTok for WooCommerce Plugin from WordPress and then download/install from
   the WooCommerce version (or vice versa).
 * If the above sounds like your issue then you may want to deactivate and delete
   the previous/duplicate version that was installed continue setup after you have
   resolved this conflict.
 * Hope this helps!
 *  Thread Starter [chaefrancis1](https://wordpress.org/support/users/chaefrancis1/)
 * (@chaefrancis1)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/logging-error-when-trying-to-activate/#post-16254009)
 * Hi guys, thanks for the response.
 * I have removed all instances, but still get the error. Is there a link to the
   correct plugin? Where should it be installed from My Events Manager takes me 
   to WooCommerce, but there is also a plugin for Woocommerce when searching within
   my dashboard, WOuld appreciate some guidance there! Thank you
 *  Plugin Contributor [TikTok](https://wordpress.org/support/users/tiktokforbusiness/)
 * (@tiktokforbusiness)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/logging-error-when-trying-to-activate/#post-16260056)
 * [@chaefrancis1](https://wordpress.org/support/users/chaefrancis1/)
 * Can you make sure that you have WooCommerce already installed and activated as
   well? Our Plugin only works with WooCommerce enabled.
 * In addition you should be able to use either version of the TikTok for WooCommerce
   Plugin – either from the WooCommerce Marketplace or WordPress
 * [https://woocommerce.com/products/tiktok-for-woocommerce/](https://woocommerce.com/products/tiktok-for-woocommerce/)
   
   [https://wordpress.org/plugins/tiktok-for-business/](https://wordpress.org/plugins/tiktok-for-business/)
 * Please let us know if this helps or if you are still encountering errors.

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

The topic ‘Logging ERror When Trying to Activate’ is closed to new replies.

 * ![](https://ps.w.org/tiktok-for-business/assets/icon-256x256.jpg?rev=2721531)
 * [TikTok](https://wordpress.org/plugins/tiktok-for-business/)
 * [Support Threads](https://wordpress.org/support/plugin/tiktok-for-business/)
 * [Active Topics](https://wordpress.org/support/plugin/tiktok-for-business/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tiktok-for-business/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tiktok-for-business/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [TikTok](https://wordpress.org/support/users/tiktokforbusiness/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/logging-error-when-trying-to-activate/#post-16260056)
 * Status: not resolved