Title: Plugin won&#039;t work when e-Commerce plugin is deactivated
Last modified: August 21, 2016

---

# Plugin won't work when e-Commerce plugin is deactivated

 *  Resolved [navycoat](https://wordpress.org/support/users/navycoat/)
 * (@navycoat)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/plugin-wont-work-when-e-commerce-plugin-is-deactivated/)
 * Hi,
 * I downloaded this plugin so that I could uninstall the e-Commerce plugin. However,
   when I have the e-Commerce plugin activated, I see the Tool Kit settings that
   say
 * “* WP e-Commerce must be de-activated to ensure there are no Plugin conflicts,
   only then will the Nuke button become available.”
 * but when I deactivate the e-Commerce plugin, I get this error and the Tool Kit
   settings don’t appear anymore – just these errors.
 * Warning: Invalid argument supplied for foreach() in /home/content/17/10717017/
   html/wp-content/plugins/wp-e-commerce-store-toolkit/store-toolkit.php on line
   592
 * Warning: Invalid argument supplied for foreach() in /home/content/17/10717017/
   html/wp-content/plugins/wp-e-commerce-store-toolkit/store-toolkit.php on line
   597
 * Fatal error: Call to undefined function wpsc_product_max_cart_quantity() in /
   home/content/17/10717017/html/wp-content/plugins/wp-e-commerce-store-toolkit/
   includes/functions.php on line 334
 * I feel like I’m stuck in a loop. How do I uninstall e-Commerce plugin using this
   Tool Kit please. I also have the Gold Cart for WP e-Commerce and am not sure 
   if that is causing a conflict. I have tried deactivating and reactivating and
   it doesn’t seem to have any impact on the above errors.
 * Thank you!
 * [https://wordpress.org/plugins/wp-e-commerce-store-toolkit/](https://wordpress.org/plugins/wp-e-commerce-store-toolkit/)

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

 *  Thread Starter [navycoat](https://wordpress.org/support/users/navycoat/)
 * (@navycoat)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/plugin-wont-work-when-e-commerce-plugin-is-deactivated/#post-5113598)
 * OK, I’m not sure exactly what happened but my entire website just shut down and
   no matter what page or even the WP dashboard, it wouldn’t work. I would get the
   following error on every page:
 * Fatal error: Call to undefined function wpsc_flush_theme_transients() in /home/
   content/17/10717017/html/wp-content/plugins/wp-e-commerce-store-toolkit/includes/
   release-3_8.php on line 1102
 * Fortunately, I was able to go through FTP and manually delete the Tool Kit folder
   in the plugins folder but now I’m very afraid of reinstalling since it basically
   killed my site.
 * Do you have any other recommendations for helping uninstall e-Commerce and any
   leftover orphan records please?
 * PS – I will freely admit that I’m not a pro at this. I am a volunteer parent 
   building a school PTA website. Any help you offer is greatly appreciated! Almost
   losing the site was very scary!
 *  Plugin Author [Michael Visser](https://wordpress.org/support/users/visser/)
 * (@visser)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/plugin-wont-work-when-e-commerce-plugin-is-deactivated/#post-5113762)
 * Hi navycoast, I’ve made a change in the next Plugin update to resolve the PHP
   fatal error when WP e-Commerce is not activated and we look for the WP e-Commerce’s
   wpsc_flush_theme_transients().
 * Regarding wpsc_product_max_cart_quantity() I’ve made a note to look at this during
   the week and release a minor Plugin update.

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

The topic ‘Plugin won't work when e-Commerce plugin is deactivated’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-e-commerce-store-toolkit_b2daea.
   svg)
 * [WP e-Commerce - Store Toolkit](https://wordpress.org/plugins/wp-e-commerce-store-toolkit/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-e-commerce-store-toolkit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-e-commerce-store-toolkit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-e-commerce-store-toolkit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-e-commerce-store-toolkit/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Michael Visser](https://wordpress.org/support/users/visser/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/plugin-wont-work-when-e-commerce-plugin-is-deactivated/#post-5113762)
 * Status: resolved