Title: deactivation not possible
Last modified: January 26, 2020

---

# deactivation not possible

 *  [vallered](https://wordpress.org/support/users/vallered/)
 * (@vallered)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/deactivation-not-possible/)
 * Hi,
 * I am running this plugin on different subsites (and the paid version on one site
   as well), so far so great!
 * But when trying to deactivate the plugin, I am getting an error like “There has
   been a critical error on your website. Please check your site admin email inbox
   for instructions.”, and plugin remains active. This error is the case on all 
   my installations, and only with this plugin.
 * As for development reasons a temporarly deactivation is necessary, this is a 
   bit crucial.
 * I also opened a ticket to the theme author, because it could be that the issue
   is with theme, as the error log is like this:
 * Error Details
    ============= An error of type E_ERROR was caused in line 89 of
   the file /home/vallered/public_html/futurzwo.com/wp-content/themes/blocksy/inc/
   dynamic-styles/admin-global.php. Error message: Uncaught Error: Call to a member
   function is_block_editor() on null in /home/vallered/public_html/futurzwo.com/
   wp-content/themes/blocksy/inc/dynamic-styles/admin-global.php:89 Stack trace:#
   0 /home/vallered/public_html/futurzwo.com/wp-content/themes/blocksy/inc/helpers.
   php(485): require() #1 /home/vallered/public_html/futurzwo.com/wp-content/themes/
   blocksy/inc/dynamic-css.php(234): blocksy_get_variables_from_file(‘/home/vallered/…’,
   Array, NULL) #2 /home/vallered/public_html/futurzwo.com/wp-content/themes/blocksy/
   inc/dynamic-css.php(99): blocksy_theme_get_dynamic_styles(Array) #3 /home/vallered/
   public_html/futurzwo.com/wp-includes/class-wp-hook.php(288): {closure}(”) #4 /
   home/vallered/public_html/futurzwo.com/wp-includes/class-wp-hook.php(312): WP_Hook-
   >apply_filters(NULL, Array) #5 /home/vallered/public_html/futurzwo.com/wp-includes/
   plugin.php(478): WP_Hook->do_action(Array) #6 /home/vallered/public_html/futurzwo.
   com/wp-content/plugins/swift-performance-lite/includes/setup/templates/deactivate.
   tpl.php(26)
 * Best
    -  This topic was modified 6 years, 6 months ago by [vallered](https://wordpress.org/support/users/vallered/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeactivation-not-possible%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [vallered](https://wordpress.org/support/users/vallered/)
 * (@vallered)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/deactivation-not-possible/#post-12407586)
 * solved, had been an issue caused by the theme

Viewing 1 replies (of 1 total)

The topic ‘deactivation not possible’ is closed to new replies.

 * ![](https://ps.w.org/swift-performance-lite/assets/icon-256x256.jpg?rev=2388229)
 * [Swift Performance Lite](https://wordpress.org/plugins/swift-performance-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/swift-performance-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/swift-performance-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/swift-performance-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/swift-performance-lite/reviews/)

## Tags

 * [deactivation](https://wordpress.org/support/topic-tag/deactivation/)

 * 1 reply
 * 1 participant
 * Last reply from: [vallered](https://wordpress.org/support/users/vallered/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/deactivation-not-possible/#post-12407586)
 * Status: not resolved