Plug Error Handler

plugin banner

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

Author:monzur (profile at wordpress.org)
WordPress version required:6.6
WordPress version tested:6.8.1
Plugin version:1.0.2
Added to WordPress repository:02-06-2025
Last updated:02-06-2025
Rating, %:100
Rated by:1
Plugin URI:https://wordpress.org/plugins/plug-error-hand...
Total downloads:355
plugin download
Click to start download

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
FAQ
ChangeLog