BACK TO DIRECTORY

Plug Error Handler

by monzur

5.0
(1 ratings)

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.

Example admin notice showing which plugin was deactivated and why.

Plugin Details

Active Installs
0
Total Downloads
580
Version
1.0.2
Requires WP
6.6
Requires PHP
7.4
Tested Up To
7.1
Added
2025-06-02
Last Updated
2026-08-21 4:31pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0