Title: Uninstall
Last modified: May 28, 2022

---

# Uninstall

 *  Resolved [lucaors](https://wordpress.org/support/users/lucaors/)
 * (@lucaors)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/uninstall-79/)
 * Hi, i add define( ‘WC_REMOVE_ALL_DATA’, true ); after that i deactivate WooCommerce
   and now i want to Uninstall. Now it Failed.
 *     ```
       23593#0: *62974 FastCGI sent in stderr: „PHP message: PHP Fatal error: Uncaught Error: Undefined constant „WC_PLUGIN_BASENAME“ in /var/www/vhosts/mysite/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-install.php:226
       Stack trace:
       #0 /var/www/vhosts/mysite/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-install.php(2184): WC_Install::init()
       #1 /var/www/vhosts/mysite/httpdocs/wp-content/plugins/woocommerce/uninstall.php(37): include_once(‚…‘)
       #2 /var/www/vhosts/mysite/httpdocs/wp-admin/includes/plugin.php(1241): include_once(‚…‘)
       #3 /var/www/vhosts/mysite/httpdocs/wp-admin/includes/plugin.php(958): uninstall_plugin()
       #4 /var/www/vhosts/mysite/httpdocs/wp-admin/includes/ajax-actions.php(4668): delete_plugins()
       #5 /var/www/vhosts/mysite/httpdocs/wp-includes/class-wp-hook.php(307): wp_ajax_delete_plugin()
       #6 /var/www/vhosts/mysite/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
       #7 /var/www/vhosts/mysite/httpdocs/wp-includes/“ while reading response header from upstream
       ```
   

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

 *  [Mashi](https://wordpress.org/support/users/shaonback2/)
 * (@shaonback2)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/uninstall-79/#post-15689684)
 * Hello [@lucaors](https://wordpress.org/support/users/lucaors/)!
 * Can you please disable all plugins and activate a default theme like “Twenty 
   Twenty-Two” and try uninstalling the WooCommerce plugin again?
 * Please let us know how it goes.
 *  [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * (@margaretwporg)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/uninstall-79/#post-15711252)
 * We haven’t heard back from you, so I’m marking this thread as resolved – we’ll
   be here if and/or when you are ready to continue.

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

The topic ‘Uninstall’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/uninstall-79/#post-15711252)
 * Status: resolved