How to Fix WordPress Plugin Conflicts Safely: Staging, Troubleshooting Mode, Debug Logs and Prevention
Fix WordPress plugin conflicts without risking your live site: test on staging, use Health Check mode, halve your plugins, read the debug log and console.

On this page
- Is it really a plugin conflict?
- Before you touch anything: a five-minute safety routine
- Reproduce it on a staging site
- Or use Health Check troubleshooting mode
- Find the culprit quickly: the halving method
- Read the evidence: debug log, console and Query Monitor
- WordPress plugin conflict fix when you cannot reach wp-admin
- Fixing it once you know the pair
- Preventing the next conflict
- Fix WordPress plugin conflicts with WP-CLI
- When to get help
- FAQs
- Never hunt for a plugin conflict on a busy live site: take a backup, then reproduce the problem on staging or in Health Check troubleshooting mode.
- Deactivate plugins in halves rather than one by one, then read the debug log and the browser console to confirm which plugin, file or script is failing.
- Most conflicts are prevented by updating one plugin at a time on staging, avoiding overlapping plugins and removing anything abandoned or nulled.
To fix a WordPress plugin conflict, first protect the live site with a backup, then reproduce the problem on a staging copy or in Health Check troubleshooting mode. Switch to a default theme and deactivate plugins in halves until the problem disappears, re-enable them to find the exact pair that clashes, and confirm it in the PHP debug log or the browser console. Then update, replace or roll back one of the two plugins, and change how you update so it doesn't happen again.
A conflict happens when two plugins, or a plugin and your theme, each work alone but break something together: a form stops sending, a layout falls apart, checkout hangs or the site shows a critical error. Finding and fixing these safely is a routine part of my WordPress maintenance work, and this guide is the same method written out so you can follow it yourself.
Short answer: For a WordPress plugin conflict fix, back up, then reproduce the problem on staging or in Health Check troubleshooting mode. Switch to a default theme, deactivate plugins in halves until the problem stops, re-enable them to find the clashing pair, confirm it in the debug log or console, then update, replace or roll back one plugin.
Is it really a plugin conflict?
Several problems look like conflicts but aren't. Rule these out early, because the fix is completely different.
| Symptom | Likely a conflict if | Could also be |
|---|---|---|
| Critical error or white screen | It started right after a plugin install or update | PHP version change, memory limit, a hack |
| Sliders, menus or pop-ups stop working | The browser console shows a red JavaScript error | A caching or minification setting |
| Layout broken on some pages | It returns after switching one plugin back on | A stale cached CSS file |
| Forms don't submit or emails don't arrive | Submission fails with an error | Email delivery, which needs SMTP |
| Two sets of meta tags or duplicate lazy loading | Two plugins do the same job | Theme features overlapping a plugin |
| Admin very slow | One plugin's screens are slow | Hosting limits or a bloated database |
A blank page with no message at all is covered in fixing the WordPress white screen of death; "allowed memory size exhausted" messages are a hosting limit rather than a clash. If forms submit but no email arrives, the cause is usually delivery rather than a conflict. Page builder breakage? See Elementor layout fixes.
If the symptom is the Elementor Update button failing or spinning, start with how to fix Elementor not saving changes, because firewalls and server limits are just as likely as a conflict.
Before you touch anything: a five-minute safety routine
- Take a fresh backup of files and database. The backup and restore guide covers the options.
- Write down what changed recently: a new plugin, an update, a theme change, a PHP upgrade on the host, or a new CDN or caching rule.
- Clear every cache (plugin, hosting and CDN), then check in a private browser window. A surprising number of "conflicts" are an old cached file.
- If customers can't buy or book, restore service first. Roll back the last update or restore the backup, then investigate on a copy.
Reproduce it on a staging site
Switching plugins on and off on a live store or booking site breaks things for real visitors. A staging copy lets you test freely; many hosts create one in a few clicks, and staging sites explained walks through the setup.
Confirm the problem appears on staging. If it doesn't, suspect something that differs between the two: server-level caching, a CDN rule, PHP settings, or a licence tied to the live domain.
Or use Health Check troubleshooting mode
When staging isn't available, the free Health Check & Troubleshooting plugin from the WordPress.org community is the next safest option. In troubleshooting mode it turns off every plugin and loads a default theme, but only for your own logged-in session; visitors keep seeing the normal site.
- Install and activate Health Check & Troubleshooting.
- Go to Tools, then Site Health, open the Troubleshooting tab and enable troubleshooting mode.
- Check whether the problem has gone. If it has, a plugin or the theme is responsible.
- From the Troubleshooting menu in the admin bar, enable plugins one at a time (or in groups) and recheck after each.
- Disable troubleshooting mode when you finish.
It has limits: server caching, scheduled tasks and anything that runs for logged-out visitors may behave differently. Treat it as a strong first step, not the final word.
Find the culprit quickly: the halving method
Turning plugins on one at a time works, but on a site with 30 plugins it is slow. Halving is faster:
- Check the theme first. Switch to a default "Twenty" theme. If the problem disappears, the theme is involved, alone or with a plugin.
- Deactivate all plugins except any the broken feature depends on, such as WooCommerce for a checkout problem. If the problem goes, a conflict is confirmed.
- Reactivate half of the remaining plugins. If the problem returns, the culprit is in that half; if not, it is in the other half.
- Keep halving the suspect group until you are down to one plugin.
- Confirm the pair: with only the suspect and its partner (or the theme) active, the problem should appear; with either one off, it should not.
Each round halves the suspects, so even a large plugin list narrows down in a handful of rounds. Deactivate, don't delete: deleting some plugins also removes their settings and data.
Locked out of the admin? Plugins can be disabled by renaming their folders in wp-content/plugins through hosting file access, or with WP-CLI if your host provides it:
wp plugin list --status=active
wp plugin deactivate --all
wp plugin activate woocommerce contact-form-7
The critical error guide covers recovery mode and the folder-rename method step by step.
Read the evidence: debug log, console and Query Monitor
The PHP debug log
On staging, turn on logging in wp-config.php so errors are written to a file instead of shown to visitors:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Reproduce the problem, then open wp-content/debug.log. A fatal error usually names the file and line, and the path tells you the plugin, for example a line containing wp-content/plugins/some-plugin/. "Cannot redeclare" or "Class already declared" errors often mean two plugins bundle the same library. Turn debugging off afterwards; never leave errors displaying on a live site.
The browser console
For buttons, sliders, menus and checkouts that "do nothing", open the broken page, right-click, choose Inspect and open the Console tab. Red errors name the script that failed. A common pattern is one plugin loading its own copy of a library, or an optimisation plugin deferring a script another plugin needs early, so everything after the first error stops running.
Query Monitor
The free Query Monitor plugin shows PHP errors, slow database queries, hooks and the scripts loaded on each page. It is very useful on staging for seeing which plugin is responsible for what.
WordPress plugin conflict fix when you cannot reach wp-admin
Sometimes a conflict takes the whole dashboard down, so you cannot deactivate anything in the normal way. You still have safe options:
- Use the recovery mode email: when WordPress catches a fatal error it often emails the admin address a special link. That link logs you in with the faulty plugin paused, so you can deactivate it properly.
- Rename one plugin folder: using your hosting file manager or FTP, open wp-content/plugins and rename the folder of the plugin you suspect, for example by adding -off to the end. WordPress deactivates it. Rename it back later to restore it with its settings.
- Rename the whole plugins folder: if you have no suspect, rename the plugins folder itself to deactivate everything, log in, rename it back, then reactivate plugins one at a time from the dashboard.
- Switch theme the same way: renaming the active theme folder makes WordPress fall back to an installed default theme.
Take a backup through your host before renaming anything, and write down exactly what you changed so you can reverse it. On a store, do this during a quiet hour, because deactivated plugins can affect checkout while you test.
Fixing it once you know the pair
- Check for updates to both plugins on staging; the conflict may already be fixed.
- Roll back the plugin that changed to its last working version, if that is safe and you can get it from the developer.
- Change a setting: exclude a script from optimisation, or switch off the overlapping feature in one plugin.
- Report it to both developers with your WordPress, PHP, theme and plugin versions (Tools, Site Health, Info lists these), exact steps to reproduce, and the log or console error.
- Replace one plugin if it looks abandoned, or if a small piece of custom code would do the job more cleanly; see plugin or custom code.
Preventing the next conflict
- Update on staging first, one important plugin at a time, and test forms, checkout and key pages afterwards. How to update WordPress safely sets out the order.
- Keep one plugin per job: one SEO plugin, one caching plugin, one security plugin.
- Remove plugins you no longer use, rather than leaving them deactivated for years.
- Choose actively maintained plugins tested with recent WordPress versions.
- Never install nulled premium plugins: they skip official updates and often carry hidden code.
- Keep a short log of what was updated and when, so the next problem starts with "what changed?"
Fix WordPress plugin conflicts with WP-CLI
If your host offers SSH, WP-CLI makes the halving method much faster, and works even when wp-admin is down. Try it on staging first:
wp plugin list --status=activerecords which plugins are active, so you can restore them later.wp --skip-plugins --skip-themes plugin listruns a command even when a plugin causes a fatal error.wp plugin deactivate plugin-one plugin-twoswitches off half the list;wp plugin activatebrings them back.wp theme activate twentytwentyfiverules the theme in or out (use any default theme you have installed).wp plugin install plugin-slug --version=1.2.3 --forcerolls a WordPress.org plugin back to an earlier version.tail -n 50 wp-content/debug.logshows the latest errors once debugging is on.
When to get help
Get help when the conflict involves checkout, payments or forms, when both conflicting plugins are essential, or when the problem only happens on the live server. WordPress maintenance and support includes testing updates on staging before they reach the live site. You can also hire a WordPress developer in India, or send the details through the contact form.
Related fixes: moving WordPress from localhost to a live server and WordPress menu not showing.
FAQs
How do I know which plugin is causing the problem?
Switch to a default theme and deactivate plugins in halves on staging or in Health Check troubleshooting mode until the problem disappears, then narrow down to one. Confirm it in the debug log or browser console, which usually names the file or script.
Can I fix a plugin conflict without deactivating plugins on my live site?
Yes. Use a staging copy, or Health Check troubleshooting mode, which disables plugins only for your logged-in session while visitors see the normal site.
Will deactivating a plugin delete my settings?
Deactivating normally keeps settings. Deleting a plugin can remove its settings and data, so deactivate while troubleshooting and only delete once you are sure.
Why does my site break only for logged-out visitors?
Usually caching or JavaScript optimisation, because logged-in users often bypass the page cache. Purge every cache and test the optimisation settings one by one.
What if the conflicting plugins are both essential?
Check for updates, report it to both developers, and try changing the overlapping setting or excluding a script from optimisation. If nothing works, replace the less important plugin or use a small piece of custom code.
How do I fix a plugin conflict after a WordPress update?
Start with whatever updated last. Roll that plugin back to its previous version on staging, check whether the problem stops, and read its changelog and support forum for known issues. Keep the older version only until a fixed release is available.
Can two plugins that do the same job conflict?
Yes. Two caching plugins, two SEO plugins or two security plugins often fight over the same settings, files or page output. Keep one plugin per job and remove the other properly, including any files or rules it added.
Need help with your website?
I'm a freelance WordPress developer building fast, SEO-friendly websites since 2020. Tell me what you need and I'll reply with a plan and a fixed quote, usually within 24 hours.


