Linux 软件免费装
Banner图

Culprit Finder

开发者 alhiane
更新时间 2026年10月24日 01:46
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

debug troubleshooting plugin conflict white screen critical error

下载

0.2.0 0.1.0 0.3.0 0.3.2 0.4.0 0.3.1

详情介绍:

When something on your site breaks, the usual advice is "deactivate all plugins, then turn them back on one by one". With 30 plugins that takes ages, and doing it on a live site breaks carts, logins and forms for real visitors. Culprit Finder switches plugins off for your browser only. It asks one question per step: "Is the problem still there?" Answer Yes or No, and it narrows things down until it names the plugin that causes the problem, or the two plugins that conflict with each other. Visitors and other admins see the normal site the whole time. Guides and answers to common questions are in the documentation: https://getculpritfinder.com/docs What it can't test Your theme, must-use plugins, drop-ins (such as object-cache.php) and server settings. If the problem stays with every plugin off, the result says so. Multisite networks aren't supported yet. Privacy Culprit Finder makes no external requests and has no tracking. It stores its results only on your site, and uninstalling removes them. Source code and support Culprit Finder is free software (GPLv2 or later). The source code is on GitHub: https://github.com/Alhiane/culprit-finder-plugin. Documentation lives at https://getculpritfinder.com/docs.

安装:

  1. Install Culprit Finder from Plugins → Add New, or upload the zip, then activate it.
  2. Activation changes nothing on your site. When you press Start troubleshooting, Culprit Finder adds a small helper file, wp-content/mu-plugins/culprit-finder-loader.php, which is what lets it switch plugins off for your browser only. It removes the file again when troubleshooting ends, and it never touches a file it didn't create. If your host doesn't allow writing there, the Culprit Finder page shows how to add it by hand.
  3. Open Culprit Finder in the admin menu, bookmark the two safety links, tick "I've saved both safety links", and press Start troubleshooting.

屏幕截图:

  • One question per step: is the problem still there?
  • Answer from the toolbar on any page.
  • The culprit, what to do next, and a report ready for any support forum.
  • Your last 10 results stay on this site.
  • How it works and every way out.

升级注意事项:

0.4.0 Adds a read-only Debug log tab and more environment details in reports. Troubleshooting works exactly as before. 0.3.2 Safer session takeover and helper file install. Troubleshooting works exactly as before. 0.3.1 Reports now list every step that was tested and your answer. Troubleshooting works exactly as before. 0.3.0 Adds a Pro tab that explains Culprit Finder Pro. Tips can be hidden with one click. Troubleshooting works exactly as before. 0.2.0 Add-ons now stay on automatically during troubleshooting, and every session ends after three hours at most. 0.1.0 First release.

常见问题:

Will my visitors notice anything?

No. Plugins are only switched off for requests from your own browser while you are logged in. Logged-out visitors and other administrators always get every plugin, and pages filtered for you are marked as not cacheable.

A step shows "There has been a critical error on this website". What now?

That's normal: it often means the plugins switched on in that step are the problem. Open the control panel link you bookmarked (the Culprit Finder page with culprit_safe=1), which always loads safely, and answer there. WordPress may also email you about the error; you can ignore it during troubleshooting.

My whole site is down, including wp-admin. Can I still use it?

Yes, through WordPress's own recovery mode:

  1. When a plugin crashes the whole site, WordPress emails the site admin a "recovery mode" link. Open it and log in. WordPress pauses the plugin that crashed, for you only, so wp-admin loads again.
  2. Go to Culprit Finder, bookmark the two links, and press Start.
  3. Click Exit Recovery Mode in the admin bar straight away. This matters: while recovery mode is on, WordPress keeps that plugin paused and your answers would be wrong. Culprit Finder now keeps your site usable instead, and the control panel link always works.
  4. Answer the questions as usual.
If the recovery email never arrives (some hosts can't send email), ask another administrator, use WP-CLI (wp plugin deactivate), or rename the plugin's folder via FTP to get back in. WordPress's recovery email usually names the plugin that crashed; Culprit Finder is most useful when the cause isn't obvious, such as two plugins that only fail together.

How do I get out if everything is broken?

Any of these ends troubleshooting:

  • Press Exit on the Culprit Finder page, in the dashboard widget, or in the admin bar.
  • Open the emergency exit link you bookmarked. It works even when you're logged out.
  • Wait an hour without answering; the session expires by itself. Every session also ends by itself after three hours at most.
  • Deactivate Culprit Finder.
  • Clear your browser cookies or use another browser: only your browser was affected.
  • Delete wp-content/mu-plugins/culprit-finder-loader.php with FTP or your host's file manager.

Does any data leave my site?

No. Culprit Finder makes no external requests and has no tracking. Results are stored only on your site (your last 10), and the support report contains no site address, user names or emails. Uninstalling removes everything.

How many questions will it ask?

About 7 for 30 plugins, because each answer halves the list. Finding two plugins that only fail together takes a few more.

What can't it test?

Your theme, must-use plugins, drop-ins (such as object-cache.php or advanced-cache.php), and server configuration. If the problem stays with every plugin off, the report says so.

Does it work on multisite?

Not yet. It refuses to start on multisite networks.

Why does it add a file to wp-content/mu-plugins?

To switch plugins off for your browser only, Culprit Finder must run before WordPress loads the other plugins, and only must-use plugins load that early. So when you press Start it adds one small helper file there, the same approach as WordPress's own Health Check & Troubleshooting plugin. Without your troubleshooting cookie the file does nothing. It is removed when troubleshooting ends (Exit, the emergency exit link, the 60-minute timeout or the three-hour limit, or deactivating the plugin), and Culprit Finder never overwrites or deletes a file it didn't create.

Where do I see PHP errors?

On the Debug log tab. It shows the end of your PHP error log, newest first, with fatal errors and warnings marked. If logging is off, the tab shows the three lines to add to wp-config.php; Culprit Finder never changes that file for you. The log includes errors from every visitor's requests, not only yours.

Can I manage plugins during troubleshooting?

No. The Plugins screen is paused for you while a session runs, so the shortened list you see can never be saved by accident. Exit first.

更新日志:

0.4.0 0.3.2 0.3.1 0.3.0 0.2.0 0.1.0