How to Test WordPress Plugin Compatibility (and Find Conflicts) Before They Break a Live Site
Most WordPress breakages don't come from bad code you wrote. They come from a plugin that was fine on its own: one that needs a newer PHP version than the host runs, loads a script that clashes with another plugin, or quietly adds a second of load time to every page.
There's no single "plugin compatibility checker" button that catches all of that. But there is a reliable routine, and it takes about fifteen minutes per plugin. Here it is, in the order we do it before anything reaches a client's live site.
Step 1: Read the plugin page like a checklist
Before installing anything, the WordPress.org plugin page tells you most of what you need:
- Requires PHP: compare it with the PHP version your host runs (Tools → Site Health → Info → Server).
- Tested up to: if it's several WordPress versions behind, be careful. WordPress.org shows a warning when a plugin hasn't been tested with recent releases.
- Last updated: months ago is fine; years ago often means abandoned.
- Active installations and support threads: are problems answered and marked resolved?
- Requires plugins: some plugins now declare other plugins they depend on.
If the plugin is premium, ask the vendor for the same facts: supported PHP and WordPress versions, and the changelog.
Step 2: Test it where it can't hurt anything
Never test a new plugin on a live site. Three good places instead:
| Where | Good for | Effort |
|---|---|---|
| WordPress Playground | A first look at a plugin in your browser, in seconds, with nothing to install. Many plugin pages have a Live Preview button that opens it there. | None |
| A local copy of the site (XAMPP, Local, MAMP…) | Real testing with the client's content, theme and other plugins | Low |
| Your host's staging site | Testing on the same server setup as production | Low to medium |
For compatibility with this site, only a copy of this site counts: conflicts come from the combination, not the plugin alone.
Step 3: Measure before and after
You can't spot a problem you didn't measure. Before installing:
- Turn on the debug log in
wp-config.php(on the copy, never the live site):
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
- Note how fast the homepage and one busy page load (a few runs each, take the middle value).
- Note the current state of the plugin list:
wp plugin list --fields=name,status,version,update
Then install and activate:
wp plugin install the-plugin-slug --activate
And check again: the debug log, the same page timings, and the browser console on the front end and in the admin.
Step 4: The plugin conflict test
If something breaks, find out which plugin causes it, quickly and without guessing.
The fast way: Health Check & Troubleshooting. This official plugin has a Troubleshooting mode that disables all plugins and switches to a default theme for your login only. Visitors see the normal site. Then re-enable plugins one at a time until the problem comes back. The last one you enabled is your conflict.
The WP-CLI way (on a copy):
wp plugin deactivate --all
wp plugin activate plugin-one
# test, then the next one
wp plugin activate plugin-two
Halve it when there are many plugins. Enable half; if the problem appears, it's in that half. Halve again. Twenty plugins take five rounds, not twenty.
What to look at during each test:
- the debug log (PHP warnings, fatal errors, deprecations)
- the browser console (JavaScript errors, often the real cause of "the button doesn't work")
- the Query Monitor plugin: PHP errors, slow database queries and which plugin made them
- the things the client actually uses: forms submit and send, the menu opens on a phone, checkout completes
Step 5: Check PHP 8 compatibility before the host upgrades
Hosts move sites to newer PHP versions, and plugins that worked for years start throwing errors. To check plugin code against a PHP version before that happens, run PHP_CodeSniffer with the PHPCompatibilityWP ruleset:
composer global require --dev phpcompatibility/phpcompatibility-wp:"*"
phpcs -p wp-content/plugins/the-plugin --standard=PHPCompatibilityWP --runtime-set testVersion 8.2-
It reads the code without running it, so treat its results as warnings to look into, not proof. The real test is still running the site on that PHP version, on a copy, with the debug log on.
Test the whole plugin stack, not one plugin at a time
WPShipReady's architect phase installs your planned plugin stack on the local site in Claude Code, reads the debug log, measures page speed before and after, and writes the results into a plugin-stack document the client can see.
See WPShipReadyStep 6: Write down what you found
The test is only useful if the next person can see it. For each plugin, note:
- the version you tested, and on which WordPress and PHP versions
- anything in the debug log (or "nothing new", if you actually checked)
- the speed before and after
- conflicts found, and what you did about them
- who pays for the licence, and when it renews
This becomes the plugin section of your QA report and your website handover document. Here's what plugin findings look like in a real QA report from a live WordPress site.
The quick routine, in one list
- Read the plugin page: Requires PHP, Tested up to, last updated, support.
- Try it in WordPress Playground if you've never used it.
- On a copy of the site: debug log on, measure speed, list plugins.
- Install and activate; check the log, the console and the timings.
- Something broke? Troubleshooting mode or WP-CLI, one plugin at a time (or halves).
- Before a PHP upgrade: PHPCompatibilityWP, then a real test on the new version.
- Write it down.
After launch, check the live site from the outside with the free WordPress launch check: it lists the plugins anyone can see loading on the homepage, along with speed, security and PHP errors printed on the page.
Which plugin conflict has cost you the most time to track down?
Frequently asked questions
Not one that catches everything. Use the plugin page for version requirements, PHPCompatibilityWP for PHP compatibility, and a test on a copy of the site for conflicts with your theme and other plugins.
Use the Health Check & Troubleshooting plugin's Troubleshooting mode, which disables plugins only for you, then re-enable them one at a time. On a copy of the site, WP-CLI does the same faster.
Yes. WordPress Playground runs WordPress in your browser, and many WordPress.org plugin pages have a Live Preview that opens the plugin there.
There's no fixed number. One heavy plugin can cost more than ten light ones. Measure each one's cost, and delete the ones the site doesn't need.
Related Articles
AI WordPress Theme Development: Build a Block Theme With Claude Code (and What to Check)
AI WordPress theme generators make a theme in minutes. Here's how to build a real block theme with AI, from theme.json to patterns, and the 12 things to check before a client ever sees it.
Claude Code for WordPress Development: A Workflow From Client Brief to Launch (2026)
How to use Claude Code for WordPress development without the chaos: CLAUDE.md rules, plan mode, skills, MCP and plugins, approval gates, and real checks, in a workflow that goes from client brief to launch report.
Website Handover Checklist and Document Template (Free) for WordPress Sites
What a website handover should include, the handover process step by step, and a free website handover document template you can copy, edit and send to your client.
Import your first Word document in under 60 seconds
Start free. Import a Word document without copy-pasting or rebuilding its formatting. No account, no credit card. Straight from WordPress.org.