Title: Cannot deactivate the plugin
Last modified: April 29, 2024

---

# Cannot deactivate the plugin

 *  Resolved [Nuwif](https://wordpress.org/support/users/nuwif/)
 * (@nuwif)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-the-plugin-2/)
 * I use the latest WordPress Multisite. When I want to deactivate the plugin I 
   get this error:
 * **Fatal error**: Uncaught Error: array_keys(): Argument #1 ($array) must be of
   type array, bool given
   in **/bitnami/wordpress/wp-content/plugins/wp-debugging/
   src/Bootstrap.php** on line **187**
 * Call stack:
    1. `array_keys()`
       /bitnami/wordpress/wp-content/plugins/wp-debugging/src/Bootstrap.
       php:187
    2. `Fragen\WP_Debugging\Bootstrap::deactivate()`
       wp-includes/class-wp-hook.php:
       324
    3. `WP_Hook::apply_filters()`
       wp-includes/class-wp-hook.php:348
    4. `WP_Hook::do_action()`
       wp-includes/plugin.php:517
    5. `do_action()`
       wp-admin/includes/plugin.php:828
    6. `deactivate_plugins()`
       wp-admin/plugins.php:211
    7. `require()`
       wp-admin/network/plugins.php:13
 * The plugin cannot be deactivated. Can you help me, please?

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

 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-the-plugin-2/#post-17719518)
 * Thanks for the stacktrace. I will look into this it’s the first report of anything
   like this.
 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-the-plugin-2/#post-17721589)
 * I believe I have fixed the issue in v2.11.24. Please let me know if this solves
   the issue for you.
 *  Thread Starter [Nuwif](https://wordpress.org/support/users/nuwif/)
 * (@nuwif)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-the-plugin-2/#post-17721628)
 * It’s fixed. Thank you!
 *  Thread Starter [Nuwif](https://wordpress.org/support/users/nuwif/)
 * (@nuwif)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-the-plugin-2/#post-17721632)
 * Resolved.
 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-the-plugin-2/#post-17721690)
 * Thanks for the follow up.

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

The topic ‘Cannot deactivate the plugin’ is closed to new replies.

 * ![](https://ps.w.org/wp-debugging/assets/icon.svg?rev=2842498)
 * [WP Debugging](https://wordpress.org/plugins/wp-debugging/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-debugging/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-debugging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-debugging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-debugging/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-the-plugin-2/#post-17721690)
 * Status: resolved