"Plugin Could Not Be Loaded": How to Fix the Error in WordPress
The error means WordPress is looking for a plugin whose files have been deleted, moved or damaged. You fix it by removing the plugin in admin, renaming its folder over FTP, deactivating it with WP-CLI or clearing it from the database.
What Does the Error Mean?
The most common causes are:
- Plugin deleted via FTP or a file manager without being deactivated first
- Folder or file name changed in the plugins folder
- Corrupted files after a failed update or installation
- A migration or restore where the database and the files do not match
- A host or security tool that removed the plugin
Source: GitHub, wpallstars/wp-fix-plugin-does-not-exist-notices, and Jetpack, "How to Deactivate a Plugin Without Access to WP-Admin", read 22/11-2026.
Fix 1: Delete the Plugin in WordPress Admin
If you can log in, this is the easiest route.
1. Log in to WordPress
Go to your-site.com/wp-admin and log in as administrator.
2. Go to Plugins
Click "Plugins" in the left menu.
3. Find the Problematic Plugin
Look for the plugin marked with an error or missing files.
4. Delete the Plugin
Click "Delete" to remove it completely. If you need it, install it again afterwards.
Fix 2: Rename the Folder via FTP
1. Connect to Your Server
Use an FTP program (like FileZilla) or your host's file manager.
2. Go to the Plugin Folder
Open /wp-content/plugins/
3. Find the Problematic Plugin
Identify the folder for the plugin that is creating problems.
4. Rename or Delete the Folder
Rename it to e.g. "plugin-name-DISABLED". If the folder is already gone but the error remains, the database is what remembers the plugin (fixes 3 and 4).
5. Test Your Site
Reload your website and check that the error is gone.
If a folder was renamed by mistake, put the original name back. Then you can activate the plugin again.
Fix 3: Deactivate the Plugin with WP-CLI
With SSH access you can remove the dead entry with one command. wp plugin deactivate does not work here, because it only knows plugins whose files exist. Use this instead:
wp eval 'deactivate_plugins( "folder-name/file-name.php", true );'Replace folder-name/file-name.php with the plugin's path as it appears in the list of active plugins. Source: wpallstars/wp-fix-plugin-does-not-exist-notices on GitHub, read 22/11-2026.
Fix 4: Correct the Database
If you have neither WP-CLI nor admin access, you can remove the plugin from the active_plugins option in the wp_options table via phpMyAdmin. The value is a serialized array, so it is easy to break by hand. Take a database backup first and change only that one entry. Source: jetpack.com, read 22/11-2026.
What Do You Do Afterwards?
- Find the cause. Why were the files missing? An update, a migration or a security scanner?
- Assess the need. Do you still need the plugin's functionality?
- Reinstall from a reliable source if you need it.
Avoid Plugin Errors in the Future
| Tip | Why |
|---|---|
| Keep WordPress and plugins updated | Old versions have more bugs and security holes |
| Only use the plugins you need | Fewer plugins means fewer potential errors |
| Test changes on staging | Avoid breaking your live site |
| Take a backup before updates | You can roll back |
| Choose well-maintained plugins | Check the last updated date |
If you keep running into this kind of error, a fixed maintenance plan can be better than fixing them one at a time.
When Should You Seek Help?
Contact a professional if:
- you are not comfortable with FTP, SSH or the database
- the error returns after you have fixed it, which can be a sign that your site is hacked
- the site has other problems after the plugin was removed
- you do not know which plugin is creating the problem
To understand plugins better, read my guide to what plugins are. To protect the site against future problems, a good security plugin is a place to start.
