Title: cannot deactivate plugin
Last modified: April 17, 2024

---

# cannot deactivate plugin

 *  Resolved [PhD05](https://wordpress.org/support/users/phd05/)
 * (@phd05)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-18/)
 * i installed imsanity to try resizing images in my media library, and now want
   to remove the plugin as its not fit for my purpose.
 * However – when i click on deactivate in the plugins list… the page refreshes,
   a notice says “plugin deactivated” – but the plugin still shows as activcated(
   because the deactivate option is still there). If i try and manually remove the
   plugin folder, and the relevent database entries which i can find – the plugin
   page then says “imsanity/imsanity.php is missing, plugin deactivcated” =- but
   i cant find where this is referenced to (in the database or local files) to try
   and delete it

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

 *  Plugin Support [adamewww](https://wordpress.org/support/users/adamewww/)
 * (@adamewww)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-18/#post-17699825)
 * Hi,
 * That’s very unusual. Do you perhaps have an object cache (or perhaps your server
   does) that is holding onto the settings? Or perhaps there is another plugin that
   is causing a conflict with removing it? Can you deactivate other plugins?
 * That having been said, it sounds like you managed to remove it, correct? But 
   are now seeing a message about the plugin being deactivated? Is that a message
   at the top that can be cleared for this?
 *  Thread Starter [PhD05](https://wordpress.org/support/users/phd05/)
 * (@phd05)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-18/#post-17700648)
 * Yeah i do have object cache functioning – but i did test the process of deactivating
   and removing a different plugin and it just worked.
 * I also installed the wp-cli tools and it was reporting ‘error deactivating plugin’,
   then the next line says plugin deactivated.. (even though it didnt show that 
   online).
 * But, then after about an hour – it was marked as deactivated.. so maybe something
   in the cache was hanging on to it.. but just seemed odd since other plugins were
   able to be removed no problems.
 * In any case – this is now removed

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

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

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

 * 2 replies
 * 2 participants
 * Last reply from: [PhD05](https://wordpress.org/support/users/phd05/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/cannot-deactivate-plugin-18/#post-17700648)
 * Status: resolved