Complete Uninstall Giving Error
-
I need to re-setup WooCommerce on a client site, they are on Siteground and had used it before and jacked all up. I installed it and found it had products and settings etc so I want to wipe out the database.
I followed this uninstall method here, https://woocommerce.com/document/installing-uninstalling-woocommerce/#uninstalling-woocommerce and added the
define( 'WC_REMOVE_ALL_DATA', true );
to wp-config.php then deactivated the plugin. I then tried to delete and it fails,
gives me an error up top sayingDeletion failed: There has been a critical error on this website.Learn more about troubleshooting WordPress.
Is there an SQL option I can run to purge the DB of everything WOO so I can restart? Thanks
-
Hi @thatryan
Thanks for reaching out.
I’m not aware of an SQL option but if the official uninstall method (by adding the code) is not working for you, you can manually delete WooCommerce data completely by following the steps explained in this article, as a workaround: https://woostify.com/how-to-reset-woocommerce/#8-manually-delete-woocommerce-data-completely
Next, follow these steps:
– Via FTP or CPanel, go to
/wp-content/plugins
and then rename the WooCommerce folder to something like woocommerce_previous.
– Login to your WP-Admin dashboard, disable all plugins, and change to a default WP theme like Storefront or Twenty Twenty-One.
– Install WooCommerce afresh.I hope this helps!
We haven’t heard back from you in a while, so I’m marking this thread as resolved – we’ll be here if and/or when you are ready to continue.
I have exactly this problem. I disabled all the plugins and activated the 2022 theme and tried again but the error still persists.
Thank you for your guidance.WooCommerce logs:
2022-09-18T00:23:21+00:00 ERROR Spec is invalid because a rule is invalid in feed 2022-09-18T00:23:21+00:00 ERROR stdClass Object ( [type] => wcadmin_active_for [operation] => > [months] => 11 ) 2022-09-18T00:23:21+00:00 ERROR stdClass Object ( [slug] => googlelistings_signals2022_hasGLA [type] => marketing [status] => unactioned [is_snoozable] => 0 [source] => woocommerce.com [locales] => Array ( [0] => stdClass Object ( [locale] => en_US [title] => Show off your products with Ads on Google [content] => You’re ready to grow with ads. Google optimizes for performance across your products; you only pay for results. If you’re new to Google, you can earn up to $500 in ad credits (T&Cs apply). <a href="https://woocommerce.com/my-account/create-a-ticket/">Contact support</a> if you need guidance with Google Listings & Ads. ) ) [actions] => Array ( [0] => stdClass Object ( [name] => googlelistings_signals2022_hasGLA_click [locales] => Array ( [0] => stdClass Object ( [locale] => en_US [label] => Connect Google Listings & Ads ) ) [url] => admin.php?page=wc-admin&path=marketing [url_is_admin_query] => 1 [is_primary] => 1 [status] => unactioned ) ) [rules] => Array ( [0] => stdClass Object ( [type] => publish_after_time [publish_after] => 2022-09-12 07:23:39 ) [1] => stdClass Object ( [type] => publish_before_time [publish_before] => 2022-10-12 23:59:00 ) [2] => stdClass Object ( [type] => plugins_activated [plugins] => Array ( [0] => google-listings-and-ads ) ) [3] => stdClass Object ( [type] => wcadmin_active_for [operation] => > [months] => 11 ) [4] => stdClass Object ( [type] => product_count [operation] => > [value] => 76 ) [5] => stdClass Object ( [type] => order_count [operation] => > [value] => 38 ) [6] => stdClass Object ( [type] => total_payments_value [days] => last_year [value] => 3700 [operation] => > ) ) ) 2022-09-18T00:23:21+00:00 ERROR Spec is invalid because a rule is invalid in feed 2022-09-18T00:23:21+00:00 ERROR stdClass Object ( [type] => wcadmin_active_for [operation] => > [months] => 11 ) 2022-09-18T00:23:21+00:00 ERROR stdClass Object ( [slug] => googlelistings_signals2022_noGLA [type] => marketing [status] => unactioned [is_snoozable] => 0 [source] => woocommerce.com [locales] => Array ( [0] => stdClass Object ( [locale] => en_US [title] => Show off your products with Ads on Google [content] => You’re ready to grow with ads. Google optimizes for performance across your products; you only pay for results. If you’re new to Google, you can earn up to $500 in ad credits (T&Cs apply). <a href="https://woocommerce.com/my-account/create-a-ticket/">Contact support</a> if you need guidance with Google Listings & Ads. ) ) [actions] => Array ( [0] => stdClass Object ( [name] => googlelistings_signals2022_noGLA [locales] => Array ( [0] => stdClass Object ( [locale] => en_US [label] => Connect Google Listings & Ads ) ) [url] => https://woocommerce.com/products/google-listings-and-ads/?utm_medium=product&utm_source=inbox_note&utm_campaign=googlelistings_signals2022_noGLA [url_is_admin_query] => [is_primary] => 1 [status] => unactioned ) ) [rules] => Array ( [0] => stdClass Object ( [type] => publish_after_time [publish_after] => 2022-09-12 07:27:46 ) [1] => stdClass Object ( [type] => publish_before_time [publish_before] => 2022-10-12 23:59:00 ) [2] => stdClass Object ( [type] => not [operand] => Array ( [0] => stdClass Object ( [type] => plugins_activated [plugins] => Array ( [0] => google-listings-and-ads ) ) ) ) [3] => stdClass Object ( [type] => wcadmin_active_for [operation] => > [months] => 11 ) [4] => stdClass Object ( [type] => product_count [operation] => > [value] => 76 ) [5] => stdClass Object ( [type] => order_count [operation] => > [value] => 38 ) [6] => stdClass Object ( [type] => total_payments_value [days] => last_year [value] => 3700 [operation] => > ) ) )
Hi @amirgfn
Since you’re not the person who originally started this topic then, per the forum guidelines, would you please start your own topic?
We’ll be more than happy to help there ??
- The topic ‘Complete Uninstall Giving Error’ is closed to new replies.