Introduction
When experiencing issues with WordPress plugins, it’s often difficult to identify the exact cause. Problems can stem from plugin conflicts, theme incompatibilities, or server configuration issues. The “Health Check & Troubleshooting” plugin, developed by the WordPress.org team, is a powerful diagnostic tool that helps isolate and identify these issues.
Back to Top
What is Health Check & Troubleshooting?
Health Check & Troubleshooting is an official WordPress.org plugin that allows you to:
- Run diagnostics on your WordPress installation
- Enter a “troubleshooting mode” that disables all plugins and switches to a default theme for your user session only
- Selectively re-enable plugins and themes to identify conflicts
- Gather technical information about your site for support purposes
The key benefit is that troubleshooting mode only affects your admin user – your visitors will continue to see your site normally while you diagnose issues.
Back to Top
Installation
- Log in to your WordPress dashboard
- Go to Plugins > Add New
- Search for “Health Check & Troubleshooting”
- Click “Install Now” and then “Activate”
Back to Top
Checking Browser Console for JavaScript Errors
Before using the Health Check plugin, it’s often valuable to check for JavaScript errors that might be causing functionality issues:
- Open your browser’s developer tools:
- Chrome/Edge: Press F12 or right-click and select “Inspect”
- Firefox: Press F12 or right-click and select “Inspect Element”
- Safari: Enable developer tools in Preferences > Advanced, then press Option+Command+I
- Navigate to the “Console” tab
- Interact with the problematic feature (click buttons, submit forms, etc.)
- Look for red error messages that appear in the console
- Pay attention to script names mentioned in the errors
- Note any references to specific plugins in the file paths
- Look for patterns like “undefined” or “null” errors
- Document any errors you find to share with support teams
JavaScript errors can often immediately identify which plugin is causing an issue or provide valuable clues about the nature of a conflict.
Back to Top
Using Troubleshooting Mode to Diagnose Issues
Back to Top
Step 1: Enter Troubleshooting Mode
- Go to Tools > Site Health
- Click the “Troubleshooting” tab
- Click the “Enter Troubleshooting Mode” button
- WordPress will reload in a basic state with all plugins deactivated and using a default theme (only for your session)
Back to Top
Step 2: Test Your Issue
Once in troubleshooting mode, test whether the issue you were experiencing still occurs:
- If the issue is RESOLVED (no longer occurs): This confirms the problem is related to either a plugin or your theme
- If the issue PERSISTS: The problem may be related to core WordPress files, server configuration, or database issues
Back to Top
Step 3: Systematic Testing (If Issue Was Resolved)
If your issue was resolved in troubleshooting mode, follow these steps to identify the specific cause:
- While still in troubleshooting mode, click “Enable & Test Plugin” next to your theme to test if the theme is causing the issue
- If the issue returns, your theme is the cause
- If the issue doesn’t return, continue testing plugins
- Enable plugins one by one:
- Click “Enable & Test Plugin” next to a plugin
- Test if the issue returns after each plugin is enabled
- Continue until you find the plugin that causes the issue to return
- When you find the conflicting plugin or theme:
- Make note of it
- You can either keep it disabled or contact the developer for support
Back to Top
Step 4: Exit Troubleshooting Mode
Once you’ve identified the issue:
- Click “Disable Troubleshooting Mode” at the top of the screen
- Your site will return to its normal state with all plugins and your theme active
Back to Top
What to Do After Identifying a Conflict
Back to Top
If the Issue is with a Plugin:
- Check if the plugin has updates available
- Search the plugin’s support forum for similar issues
- Contact the plugin developer with specific details:
- WordPress version
- PHP version
- Other active plugins
- Steps to reproduce the issue
- Any error messages from the browser console
Back to Top
If the Issue is with a Theme:
- Check if theme updates are available
- Consider temporarily switching to a default WordPress theme
- Contact the theme developer with specific details
Back to Top
If the Issue Persists in Troubleshooting Mode:
This suggests deeper issues such as:
- WordPress core file integrity problems
- Database corruption
- Server configuration issues
- PHP version compatibility problems
In these cases, consider:
- Running a Site Health check (Tools > Site Health > Status)
- Consulting with your hosting provider
- Seeking help from a WordPress developer
Back to Top
Advanced Troubleshooting Techniques
Back to Top
Using the Health Check Debugging Information
- Go to Tools > Site Health > Info
- This page contains detailed information about your WordPress configuration
- Click “Copy to Clipboard” to share with support teams
Back to Top
Testing with Alternative User Accounts
Sometimes issues only affect specific user roles:
- Create a temporary user account with a different role
- Test if the issue occurs for this new user account
Back to Top
Checking Server Error Logs
Server errors might not be visible in the browser:
- Check your hosting control panel for error logs
- Or add
define('WP_DEBUG', true);
and define('WP_DEBUG_LOG', true);
to your wp-config.php file
- Errors will be logged to /wp-content/debug.log
Back to Top
Tips for Efficient Troubleshooting
- Binary Search Method: For sites with many plugins, use a “divide and conquer” approach:
- Enable half of your plugins and test
- If the issue appears, the problem is in that half; if not, it’s in the other half
- Continue dividing the problematic group in half until you isolate the issue
- This method is significantly faster than testing plugins one by one when you have many plugins
- Complex Conflicts: Be aware that some issues are caused by combinations of plugins:
- If you can’t identify a single problematic plugin, try testing different combinations
- Pay attention to plugins that serve similar functions (multiple SEO plugins, multiple caching solutions)
- Sometimes two plugins work fine individually but conflict when used together
- Methodical Documentation: Keep detailed notes of what you’ve tested and the results
- Recent Changes: Start by testing plugins or themes recently installed or updated
- Common Culprits: Test high-impact plugins first (caching, security, optimization plugins)
- Clear Cache: Make sure to clear any caching plugins when testing
- Browser Testing: Test in multiple browsers to rule out browser-specific issues
Back to Top
When to Contact Plugin Support
If you’ve identified an issue but cannot resolve it yourself:
- Gather comprehensive information:
- WordPress version
- PHP version
- Complete list of active plugins
- Theme name and version
- Browser and device information
- Exact steps to reproduce the issue
- Screenshots or screen recordings if applicable
- Any error messages from the browser console
- Check existing documentation:
- Review the plugin’s knowledge base
- Search the plugin’s support forum for similar issues
- Submit a detailed support ticket:
- Include all the information gathered above
- Be specific about what you’ve already tried
- Mention that you’ve used Health Check to isolate the issue
- Provide temporary admin access if possible and appropriate
The more information you provide in your initial support request, the faster the support team can assist you in resolving the issue.
Back to Top
Finally
The Health Check & Troubleshooting plugin is an invaluable tool for diagnosing WordPress issues without disrupting your live site. By systematically testing plugins and themes, you can identify conflicts and provide detailed information to support teams when needed.
Remember: Always back up your WordPress site before making significant changes to plugins, themes, or core files.
Back to Top
Resources
Back to Top