| 开发者 | sungraizfaryad |
|---|---|
| 更新时间 | 2026年9月5日 01:46 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
remove_all_actions, remove_all_filters, deregistering jQuery, or dequeuing core styles. A plugin that deregisters jQuery is one of the most common reasons a slider, lightbox, or form suddenly stops working. Scanning is capped per plugin so it stays fast on large sites.
PHP errors grouped by plugin. Clashlens reads your debug.log and attributes fatal errors, warnings and notices to the plugin that produced them, over the last 7 days. A plugin generating 50 or more errors in a single day is flagged critical. Only the tail of the log is read, so even a multi-gigabyte debug.log will not exhaust memory.
Hook collisions. Hooks where three or more plugins registered callbacks at the same priority are listed as investigation starting points. Common core lifecycle hooks are excluded because crowding there is completely normal, and this check deliberately never rates your site critical on its own.
Who it is for
Site owners debugging a broken page, developers taking over an unfamiliar site, agencies auditing client installs before an update, and anyone who has ever lost an afternoon to plugin compatibility troubleshooting.
What it will not do
Clashlens never deactivates, modifies, or repairs anything. It reports what it finds and leaves every decision to you. It also cannot see JavaScript errors that happen in the visitor's browser, and because the scan runs in the admin area, hooks that plugins register only on front-end requests are invisible to the hook collision check. Both are on the roadmap.
Privacy
Clashlens sends nothing anywhere. No external requests, no tracking, no analytics. Scan results are stored in your own database and removed when you uninstall the plugin.
clashlens to /wp-content/plugins/, or install it from Plugins → Add New.No. It reports conflicts so you can investigate and decide. Automatic deactivation on a live site would be far too risky.
Often, yes. The most common cause is a plugin deregistering or dequeuing jQuery, which Clashlens reports by name under Dangerous Overrides. If the conflict also produces PHP errors, those get attributed to the responsible plugin too. What it cannot yet see is a JavaScript error occurring in the visitor's browser, since that never reaches the server.
Not necessarily. Congested hooks are potential conflict points, not confirmed bugs. Use them as a starting point for investigation. This detector never rates your site critical on its own.
Enable WP_DEBUG_LOG in your wp-config.php, let the site run for a while, then scan again. Without a log there is nothing for the error detector to read.
The scan runs in an admin context, so hooks that plugins register only on front-end requests are not visible to the hook collision detector. The other three checks are unaffected. Front-end analysis is planned for a future version.
Yes. Use the clashlens_known_conflicts filter in a custom plugin or mu-plugin. Each entry is [ 'slug-a', 'slug-b', 'Explanation', 'warning' ] and the fourth element is optional, either 'warning' or 'info', defaulting to 'warning'.
No. Nothing runs on the front end and nothing runs on a schedule. Code executes only while you are on the Clashlens settings page and you press Run Scan.
WordPress 6.0 or newer and PHP 8.0 or newer.