BACK TO DIRECTORY



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.
Screenshots

Example admin notice showing which plugin was deactivated and why.

Plugin Details
Active Installs
0Total Downloads
580Version
1.0.2Requires WP
6.6Requires PHP
7.4Tested Up To
7.1Added
2025-06-02Last Updated
2026-08-21 4:31pm GMTRatings
5
1
4
0
3
0
2
0
1
0