Title: Critical Error When Deactivating Plugin
Last modified: March 26, 2025

---

# Critical Error When Deactivating Plugin

 *  Resolved [losto](https://wordpress.org/support/users/losto/)
 * (@losto)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/critical-error-when-deactivating-plugin/)
 * Critical Error When Deactivating Plugin
 * A critical error is generated on the website because when you try to deactivate
   the plugin from the WooCommerce checkout page, it somehow deactivates the WooCommerce
   plugin, which is necessary for the website to be active.
 * HOW CAN THE SAME ERROR BE GENERATED?
   Activate the plugin from the plugin page.
   Once activated, go to the WooCommerce checkout page and click the three dots 
   to deactivate. A critical error will be generated for the entire website.

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

 *  [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/critical-error-when-deactivating-plugin/#post-18384524)
 * Hi [@losto](https://wordpress.org/support/users/losto/)
 * Can you clarify what you mean by ‘go to the WooCommerce checkout page and click
   the three dots to deactivate’?
 * As far as I know, the WooCommerce checkout page is where customers place their
   orders. How would someone deactivate a plugin from there? Are you referring to
   a different page or a specific WooCommerce setting?
 *  Plugin Author [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/critical-error-when-deactivating-plugin/#post-18453578)
 * Hi [@losto](https://wordpress.org/support/users/losto/),
   After looking into this
   issue more, it appears to be an issue with WooCommerce. If you try to deactivate
   any other gateways this same way, they also have the same error.
 * I would recommend that you to to your admin plugin page and disable / delete 
   any gateways you don’t want from there.
   I hope that helps. If you have any other
   problems or questions, please let me know.Best,Scott

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

The topic ‘Critical Error When Deactivating Plugin’ is closed to new replies.

 * ![](https://ps.w.org/restore-paypal-standard-for-woocommerce/assets/icon-256x256.
   png?rev=2873108)
 * [Restore PayPal Standard for WooCommerce](https://wordpress.org/plugins/restore-paypal-standard-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restore-paypal-standard-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restore-paypal-standard-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/restore-paypal-standard-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restore-paypal-standard-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restore-paypal-standard-for-woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/critical-error-when-deactivating-plugin/#post-18453578)
 * Status: resolved