Plug Error Handler
·
Automatically detects and deactivates plugins that cause PHP fatal or parse errors during activation or update to prevent site crashes.
Rating
5/5
Version
1.0.2
Last updated
Jun 2, 2025
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.
This plugin is available for download for your site.
