Title: Plug Error Handler
Author: monzur
Published: <strong>Òkúdù 2, 2025</strong>
Last modified: Òkúdù 2, 2025

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/plug-error-handler/assets/banner-772x250.png?rev=3304994)

![](https://ps.w.org/plug-error-handler/assets/icon-256x256.png?rev=3306158)

# Plug Error Handler

 Láti ọwọ́ [monzur](https://profiles.wordpress.org/monzur/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/plug-error-handler.1.0.2.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/plug-error-handler/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/plug-error-handler/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/plug-error-handler/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/plug-error-handler/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/plug-error-handler/)

## Àpèjúwe

**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Ìtumọ̀ Yorùbá: ’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.

## Àwọn àwòrán ìbòjú

[⌊Example admin notice showing which plugin was deactivated and why.⌉⌊Example admin
notice showing which plugin was deactivated and why.⌉[

Example admin notice showing which plugin was deactivated and why.

[[

## Ìgbéwọlẹ̀

 1. Upload the plugin folder `plug-error-handler` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. That’s it! The plugin runs silently in the background.

## FAQ

### What does this plugin actually do?

It monitors for PHP fatal errors, parse errors, and similar fatal conditions during
plugin activation or update. If such an error occurs, it immediately deactivates
the plugin and prevents your site from breaking.

### How does it detect errors?

It uses `register_shutdown_function()` to catch fatal errors via `error_get_last()`
and uses the `$_GET['plugin']` and `$_GET['action']` values to identify which plugin
was being activated or updated.

### Does it protect from runtime plugin errors?

No. It only works at the time of **plugin activation** or **plugin update**. Runtime
errors (which occur after a plugin has been successfully activated) are not handled.

### Does it protect against JavaScript or CSS errors?

No, this plugin only handles **PHP errors**. It does not analyze or mitigate issues
from JavaScript or stylesheets.

### Will this plugin conflict with other admin plugins?

No. ItÌtumọ̀ Yorùbá: ’s built to be conflict-free and only activates its logic when
a plugin is being activated or updated.

### Can I see logs or history of plugin errors?

No logs are stored to the database to keep this plugin lightweight. You’ll only 
see an **admin notice** if a plugin was automatically deactivated due to an error.

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/f48ce498e3d87c38bffa7443726d0bf7b3811df56da52affe116dfc82397c442?
s=60&d=retro&r=g)

### 󠀁[Handy tool](https://wordpress.org/support/topic/handy-tool-41/)󠁿

 [bilash2025](https://profiles.wordpress.org/bilash2025/) Òkúdù 11, 2025

“Thumbs up! I tested this with two problematic plugins and i found this one working.”

 [ Ka gbogbo àgbéyẹ̀wò 1 ](https://wordpress.org/support/plugin/plug-error-handler/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Plug Error Handler” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe
ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ monzur ](https://profiles.wordpress.org/monzur/)

[Túmọ̀ “Plug Error Handler” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/plug-error-handler)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/plug-error-handler/), 
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/plug-error-handler/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/plug-error-handler/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/plug-error-handler/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0.2

 * Added support for plugin updates (`update-plugin` action).
 * Improved error handling logic.
 * Fixed text domain mismatch and translation comments.
 * Compliant with WordPress plugin standards and Plugin Checker.

#### 1.0.1

 * Initial public release with fatal error detection during plugin activation.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0.2**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 1 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **Tó kéré sí 10**
 *  Ẹ̀yà WordPress ** 6.6 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.8.5**
 *  Ẹ̀yà PHP ** 7.4 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/plug-error-handler/)
 * Àwọn àmì
 * [error-handler](https://yor.wordpress.org/plugins/tags/error-handler/)[fatal error](https://yor.wordpress.org/plugins/tags/fatal-error/)
   [plugin conflict](https://yor.wordpress.org/plugins/tags/plugin-conflict/)[safety](https://yor.wordpress.org/plugins/tags/safety/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/plug-error-handler/advanced/)

## Àwọn ìbò

 5 lára àwọn ìràwọ̀ 5.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/plug-error-handler/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/plug-error-handler/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/plug-error-handler/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/plug-error-handler/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/plug-error-handler/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/plug-error-handler/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/plug-error-handler/reviews/)

## Àwọn Olùkópa

 *   [ monzur ](https://profiles.wordpress.org/monzur/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/plug-error-handler/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://profiles.wordpress.org/monzur/)