Find a plugin causing problems
When something breaks, such as a form, a layout, or slow pages, a plugin is the usual suspect. The method is simple: turn plugins off and on until the problem appears and disappears.
Best: test on a staging copy
Clone the site so visitors aren't affected. See Stage or clone a WordPress site. On Essential, test at a quiet time, or use maintenance mode.
Find the culprit
- Take a backup. See Back up and restore WordPress.
- Deactivate all plugins in WordPress's Plugins screen, or switch them off under WordPress → Manage → Plugins and themes in your control panel.
- Check the problem. If it persists, the cause is your theme or hosting, and you can switch theme.
- Activate one plugin at a time. Test after each.
- When the problem returns, the last plugin you turned on is involved.
- Try it with only one other plugin at a time to find a conflict between two.
With WP-CLI
cd ~/public_html
wp plugin list --status=active --field=name > active.txt
wp plugin deactivate --all
# Reactivate one at a time
wp plugin activate woocommerce
wp plugin activate contact-form-7
# Restore the original set
xargs wp plugin activate < active.txt
Also check
- The debug log. See Turn on WordPress debug logging.
- The browser console (F12 → Console) for JavaScript errors.
- Cache. Purge LiteSpeed Cache first. See Speed up WordPress with LiteSpeed Cache.
Fixes
| Cause | Fix |
|---|---|
| Out-of-date plugin | Update it |
| Two plugins do the same job | Keep one |
| Plugin abandoned | Replace it |
| Memory exhaustion | Raise the memory limit |
| Plugin not compatible with PHP | Change PHP version |
When you report it to the plugin author, include your WordPress and PHP versions, and the exact error message.
Still stuck? Ask us and we'll walk you through it.