
內容簡介
**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 獲取詳細信息。
外掛標籤
開發者團隊
原文外掛簡介
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.
