[WordPress] 外掛分享: Plug Error Handler

首頁外掛目錄 › Plug Error Handler
WordPress 外掛 Plug Error Handler 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
314 天前
最後更新
問題解決
WordPress 6.6+ PHP 7.4+ v1.0.2 上架:2025-06-01

內容簡介

**WordPress 外掛 Plug Error Handler 總結:**

Plug Error Handler 是一個輕量且專注於安全性的 WordPress 外掛,可幫助防止因問題外掛而引起的白屏或嚴重崩潰。它通過自動檢測並停用在啟用或更新過程中拋出 PHP 嚴重錯誤或解析錯誤的任何外掛來實現這一點。該外掛旨在在問題發生時拦截有可能使網站崩潰的問題,以確保管理員體驗的流暢。

**問題與答案:**

1. 這個外掛具有哪些主要功能?
- 偵測 PHP 嚴重錯誤、解析錯誤、編譯錯誤和核心錯誤。
- 在啟用或更新期間自動停用有問題的外掛。
- 顯示清晰的管理通知,指示造成問題的外掛及其引發的錯誤類型。
- 輕量:不使用數據庫(使用臨時儲存),不影響性能。
- 沒有設置頁面 - 靜默地在後台運行以確保您的安全。

2. 這個外掛有哪些限制?
- 僅處理 PHP 錯誤,無法偵測:
- JavaScript 錯誤
- CSS 衝突
- 不產生致命錯誤的外掛衝突
- 只處理在啟用或更新期間發生的錯誤(不處理運行時問題)。
- 設計供管理員級別的用戶使用,他們負責插件更改。

3. 這個外掛的授權是什麼?
- 這個外掛的授權是根據 GPLv2 或更高版本。請參閱 https://www.gnu.org/licenses/gpl-2.0.html 獲取詳細信息。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Plug Error Handler」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon