跳到内容

Plug Error Handler

v1.0.2

monzur · 2025年6月2日 上架

Automatically detects and deactivates plugins that cause PHP fatal or parse errors during activation or update to prevent site crashes.

正在使用
10 以下
评分
5.0 / 5
累计下载
679
最近更新
2026年8月22日
1 条评价需要 WordPress 6.6+已测试到 7.1.5PHP 7.4+

贡献者

截图

Example admin notice showing which plugin was deactivated and why.
Example admin notice showing which plugin was deactivated and why.
Plug Error Handler

Plug Error Handler is a lightweight and safety-focused WordPress plugin that helps prevent white screens or fatal crashes caused by problematic plugins. It does this by automatically detecting and deactivating any plugin that throws a PHP fatal error or parse error during activation or update.

It’s designed to ensure a smooth admin experience by intercepting site-breaking issues at the moment they occur.

🔐 Key Features

  • Detects PHP fatal errors, parse errors, compile errors, and core errors.
  • Automatically deactivates the faulty plugin during activation or update.
  • Displays a clear admin notice indicating which plugin caused the issue and what type of error it triggered.
  • Lightweight: No database usage (uses transients), no impact on performance.
  • No settings page — works silently in the background for your safety.

⚠️ Limitations

  • Only handles PHP errors — does not detect:
    • JavaScript errors
    • CSS conflicts
    • Plugin conflicts that don’t produce fatal errors
  • Only handles errors during activation or update (not runtime issues).
  • Designed for administrator-level users who manage plugin changes.

License

This plugin is licensed under the GPLv2 or later. See https://www.gnu.org/licenses/gpl-2.0.html for details.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums