Title: Error when I activate
Last modified: November 23, 2017

---

# Error when I activate

 *  Resolved [ibaranesky](https://wordpress.org/support/users/ibaranesky/)
 * (@ibaranesky)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/error-when-i-activate-3/)
 * I get this error. Please help. I don’t really do coding so hopefully its an easy
   fix.
 * Fatal error: Cannot redeclare woocommerce_template_loop_add_to_cart() (previously
   declared in /home/smokerbroker/public_html/wp-content/plugins/woocommerce/includes/
   wc-template-functions.php:717) in /home/smokerbroker/public_html/wp-content/plugins/
   hide-add-to-cart-button/hide-add-to-cart-button.php on line 142

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

 *  [Paul Scollon](https://wordpress.org/support/users/scollonp/)
 * (@scollonp)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-when-i-activate-3/#post-9730124)
 * Confirmed. Got exactly the same error.
 *  Plugin Author [9dpi](https://wordpress.org/support/users/9dpi/)
 * (@9dpi)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-i-activate-3/#post-9821554)
 * Did you download the latest version ?
 *  [Paul Scollon](https://wordpress.org/support/users/scollonp/)
 * (@scollonp)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-i-activate-3/#post-9830770)
 * At the time of the error, yes. The plugin was latest version. With all due respect..
   it took you a month to come up with that reply? This is not great support. The
   last update of the plugin was 2 months ago. Multiple people have reported issues
   in the last 1 month. The issue is most likely actually with the version you are
   asking people to use. Please go do some testing yourself as your plugin’s reputation
   is suffering while the bug is unfixed.
 * The is related to the use of woocommerce_template_loop_add_to_cart()
 *  Plugin Author [9dpi](https://wordpress.org/support/users/9dpi/)
 * (@9dpi)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-i-activate-3/#post-9835892)
 * I’m really sorry, I was too busy and didn’t receive any notification on my email.
 * I will check and see what’s wrong now
 *  Plugin Author [9dpi](https://wordpress.org/support/users/9dpi/)
 * (@9dpi)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-i-activate-3/#post-9842459)
 * New version uploaded. Please update and check

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

The topic ‘Error when I activate’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hide-add-to-cart-button_ffffff.svg)
 * [Woocommerce Hide Add To Cart Button](https://wordpress.org/plugins/hide-add-to-cart-button/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-add-to-cart-button/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-add-to-cart-button/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-add-to-cart-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-add-to-cart-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-add-to-cart-button/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [9dpi](https://wordpress.org/support/users/9dpi/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-i-activate-3/#post-9842459)
 * Status: resolved