Title: Deleted Plugin Before Deactivating It
Last modified: October 7, 2019

---

# Deleted Plugin Before Deactivating It

 *  [gotmedia](https://wordpress.org/support/users/gotmedia/)
 * (@gotmedia)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/)
 * Hi all,
 * I did a really silly thing. I deleted the plugin before deactivating it and now
   I’m paying the price.
 * I deleted it because I’m trying to upload a newer version.
 * Now, I can’t see either plugin (the new one or the old). It’s really frustrating,
   but a lesson learned.
 * How do I deactivate the old one? Do I go in the database and make a change?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeleted-plugin-before-deactivating-it%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/#post-12006866)
 * If you deleted a plugin, WP should deactivate it when you next visit wp-admin.
 * You could also upload the new version via FTP, replacing what was there in wp-
   content/plugins/whatever.
 *  Thread Starter [gotmedia](https://wordpress.org/support/users/gotmedia/)
 * (@gotmedia)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/#post-12006871)
 * Hi Steve,
 * Thank you for your reply. The problem is, every time I go into the wp-admin, 
   it doesn’t deactivate. I have also been refreshing a lot and nohting.
 * I also uploaded the new version via FTP. Same situation…
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/#post-12006879)
 * If you delete the plugin’s directory, do you get any errors? Once you’ve deleted
   the directory, you should be able to reinstall via plugins->add new
 *  Thread Starter [gotmedia](https://wordpress.org/support/users/gotmedia/)
 * (@gotmedia)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/#post-12006902)
 * Is there not a more graceful way in doing this? Removing all of the plugins is
   kind of concerning to me considering the site will collapse.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/#post-12006903)
 * It will be OK; the settings are in the database. Delete the directory and reinstall.
 *  Thread Starter [gotmedia](https://wordpress.org/support/users/gotmedia/)
 * (@gotmedia)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/#post-12007111)
 * That did not work 🙁 Do you have any other suggestions?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/#post-12007337)
 * In what way did it not work?
 *  Thread Starter [gotmedia](https://wordpress.org/support/users/gotmedia/)
 * (@gotmedia)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/#post-12009785)
 * It didn’t do anything, but I figured out something… that plugins that was deleted
   before being deactivated, it turns out there was a permissions issue. It was 
   different than the other folders. So once those were correct, WordPress discovered
   the plugin and I enabled it and it worked.
 * Very interesting.

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

The topic ‘Deleted Plugin Before Deactivating It’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [gotmedia](https://wordpress.org/support/users/gotmedia/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/deleted-plugin-before-deactivating-it/#post-12009785)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
