Plugin Detective – Troubleshooting

Description

Plugin Detective helps you troubleshoot issues on your site quickly and easily to find the cause of a problem. Once the culprit is found, the problem plugin can be quickly deactivated. You can even fix your site when it has the white screen of death (fatal error). You’ll want to have Plugin Detective installed, so if your site crashes from a conflict or bad plugin update, you can get it back up and running quickly!

We’ve all been there – something’s broken on your site. You’ve looked around the web for advice about what to do and have stumbled across the typical wisdom – deactivate all your plugins and then re-activate them one-by-one, checking your site for the problem after each reactivation.

Ugh.

Sure, it works. But who has time for that?

Detective Otto Bot walks you through solving your case one step at a time, all from one single screen.

Just open up a case and tell Detective Otto where you’re seeing the problem. If there are any plugins that are required for your site to run correctly, tell Otto about those too.

Then Otto will interrogate the suspects and keep track of clues, checking in with you from time to time. All you need to do is answer “Yes, it’s fixed” or “No, it’s still broken” each time. Otto does the rest and finds the culprit in just minutes.

Best of all – Plugin Detective can work even if you’re just seeing the White Screen of Death on your site or if all you can see are PHP errors. See the FAQ’s for how to access plugin detective and log into WordPress even if you can’t get to your login screen.

Once Otto has identified the culprit, you can quickly deactivate the troublesome plugin and go about your day.

Screenshots

  • Troubleshoot link on the admin bar
  • Welcome screen
  • Seeing the problem on Otto's screen
  • Marking the key witnesses (required plugins)
  • Testing Otto's screen to see if the problem is still there
  • Culprit found! Option to disable the problem plugin

Installation

Manual Installation

  1. Upload the entire /plugin-detective directory to the /wp-content/plugins/ directory.
  2. Activate Plugin Detective through the ‘Plugins’ menu in WordPress.

FAQ

How do I use Plugin Detective?

Install Plugin Detective. Then from the WordPress admin, you’ll find Plugin Detective under the Tools menu.

Alternatively, you’ll find a Troubleshoot link added to your admin bar. Click this link on any page, admin or front end, to troubleshoot an issue you’re seeing on that page.

I just see errors or a white screen. Can I still use Plugin Detective to troubleshoot what’s gone wrong?

As long as you can still access your hosting account, you can install Plugin Detective via FTP. We’ve included instructions for Manual Installation on the Installation tab.

Once Plugin Detective is installed, head to yoursite.com/wp-content/plugins/plugin-detective/troubleshoot. You’ll be asked to log in with your WordPress username and password just to make sure you have the right permissions and then Detective Otto Bot will step you through troubleshooting just like always.

How does Detective Otto figure out which plugin is breaking my site?

Detective Otto learns from you. While interrogating the different suspects, Otto will check in with you to see if the issue is still happening on your site or not. You just need to answer “Fixed” or “Broken” after Otto makes a change.

Each of your answers provides Otto another clue that he is able to use to narrow down the list of plugins to find just the one that’s causing the problem.

What if it’s not easy to see what’s broken?

There’s no time limit on the clues for Otto. Some issues are more complex than others. You can use the embedded screen Otto provides you to step through several steps to see if the issue appears, or you can even open your site in a new window and step through whatever steps it takes to replicate the problem you’re having. Once you have the answer – minutes or even hours later – you can tell Otto either “Yes, it’s fixed” or “No, it’s still broken”.

Is this faster than me troubleshooting my plugins manually?

Yes, it’s much faster. Robots can be really fast at figuring out puzzles like these, and Detective Otto Bot is no exception. Rather than disabling your plugins one-by-one, Otto can disable groups of plugins, and use your answers to quickly narrow the scope of his investigation using binary search (a fancy robot term for saving you time).

I told Detective Otto that the problem was fixed, so why is he still interrogating suspects?

Likely Otto was interrogating a group of suspects at the time. The clue that the problem was fixed only narrows it down to the suspect being in that group. Give Otto a couple more rounds of interrogation, and he’ll find the exact plugin that’s causing your problem.

Does Plugin Detective work on multisite installs?

No, we don’t support multisite yet. We wanted to get Plugin Detective out there for people to use as soon as possible, but there’s a good amount of work to do before it will support multisite. As you may know, multisite can get a bit complicated.

With a single install, it’s easy to determine which plugins are active and manipulate them. With a multisite, there are network-activated plugins and plugins at the site level. And theoretically Plugin Detective could be run the whole network, or just looking at a single site. And there are permission differences between a network admin and a site admin. So it will take some work for us to support all that. We want to see how much interest there is in supporting multisite, and get some feedback from multisite users to understand what would be most useful for them and how they’d use it.

If you’re reading this, you likely want to use Plugin Detective to troubleshoot multisite installs. Please send us an email ([email protected]) to let us know you’re interested and answer a few questions to help us build this the right way:

Would this just be a tool for you (the network admin)? Or would you want your site admins to be able to run it (and I assume they could only test their site-activated plugins, not disable any that you’ve network-activated?)

Reviews

June 2, 2021
Good and Needed plugin, seems to be helpful for some people, but not balanced yet, lots of work to be done. It deleted all my theme data. Good thing I have a backup, otherwise days of work would be lost.
October 1, 2020
This plugin was a huge help!! I can’t say enough about it. Thanks for the development of this tool. Please keep it up! Sincerely, Gary
April 25, 2020
Your plugin work like a charm , took off my 3 days headache about issues on my site , when i found your plugin , all the problem solve Thank you so much Your hardwork service is a great service thanks for being selfless
December 3, 2019
This plugin might be useful for some, perhaps it needs updates. In my case it was a disaster, it deleted all my theme's customization data! it also deleted data from other plugins, after enabled it immediately disfigured my front page and several of my paid premium plugins complained my license had expired etc. Crazy! Deactivating the plugin, even deleting it and cleaning all caches did not fix the mess. I had to go back to a backup I had from like 6 hours earlier, unfortunately lost several new user registrations ( ours is a community site) I would strongly advise anyone using it to MAKE SURE you create a backup of your whole site before playing around with it. I hate giving bad reviews, but be aware, the plugin has not been updated for a while you might have negative consequences like me.
Read all 21 reviews

Contributors & Developers

“Plugin Detective – Troubleshooting” is open source software. The following people have contributed to this plugin.

Contributors

“Plugin Detective – Troubleshooting” has been translated into 7 locales. Thank you to the translators for their contributions.

Translate “Plugin Detective – Troubleshooting” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.8

  • Fixed for WP 5.8 compatibility

1.1.8

  • Fixed for WP 5.5 compatibility

1.1.6

  • Fixed fatal error with WP 5.2 and some themes

1.1.4

  • Fixed warning on PHP 7.3

1.1.2

  • Fixed compatibility with servers running older than PHP5.5

1.1.1

  • Fixed issue on some sites where there are redirects or irregularities with http://www.site.com vs http://site.com

1.1

  • Added internationalized strings for future translation

1.0.14

  • Improved support for HTTPS/HTTP issues on some sites

1.0.13

  • Improved support for installs with wp-config.php outside of webroot

1.0.12

  • Added support for sites that use wp-config-local.php
  • Added support for Pantheon hosting config
  • Added support for Pagely (wp-config-hosting.php file)

1.0.11

  • Added warnings for multisite
  • Improved searching for ABSPATH

1.0.9

  • Fixed for sites with wp-content/ in a different location (make sure to define WP_CONTENT_URL and WP_CONTENT_DIR in wp-config.php)
  • Fixed for sites with wp-content/ in a new location
  • Added warning for iThemes Security users who need to adjust settings in order to use Plugin Detective
  • Improved handling of https/http connections and mixed content warnings
  • Added support for wp-content/plugin-detective-config.php (it will load before the Plugin Detective Troubleshooting app, so any required constants can also be defined there)

1.0.8

  • Improved handling of unusual location for wp-config.php file

1.0.7

  • Fixed issue with WordPress installs located in subdirectories
  • Improved handling of unusual formatting in wp-config.php file

1.0.6

  • Fixed issue with “back to WP” button in upper-left corner reactivating the plugin you just deactivated in the final step after the culprit is identified

1.0.5

  • Fixed issue with unusual define() syntax in some wp-config.php files

1.0.4

  • Fixed issue with required plugins not staying active during all tests

1.0.3

  • Fixed issues with older PHP environments

1.0.0

  • First release