內容簡介
Wonderful Fatal Circuit Breaker 外掛能有效防止因外掛更新錯誤而導致整個網站癱瘓。它會自動停用持續發生 PHP 致命錯誤的外掛,確保網站持續運行,並提供通知功能,讓管理員能夠及時處理問題。
【主要功能】
• 自動停用持續崩潰的外掛
• 設定保護外掛,避免自動停用
• 支援 webhook 通知功能
• 顯示錯誤詳情的管理通知
• 不發送訪客數據,保障隱私
外掛標籤
開發者團隊
② 後台搜尋「Wonderful Fatal Circuit Breaker」→ 直接安裝(推薦)
原文外掛簡介
A broken plugin update can take a whole site down — and WordPress’ built-in recovery mode only pauses the plugin for the administrator who clicks the recovery link, while every visitor keeps seeing the error.
This plugin works like an electrical circuit breaker: it counts PHP fatal errors per plugin within a configurable time window. When the same plugin keeps crashing (default: 5 fatals within 10 minutes), the breaker trips and the plugin is deactivated automatically. Your site keeps running without the broken plugin instead of staying down.
Plugins your site must not run without (shop, membership, security) can be ticked off as protected — they are never deactivated automatically. For protected plugins you only get a notification, so a human can decide.
Optionally, a webhook URL (Slack, Discord, n8n, …) can be configured. Whenever the breaker trips — or a protected plugin keeps crashing — a notification is sent there.
What the breaker does when it trips:
Removes the broken plugin from the active plugins — without running any of its deactivation hooks (the plugin is broken; running its code would be exactly the wrong move).
Shows a persistent admin notice with the error details until you reactivate the plugin.
Sends a webhook notification if a webhook URL is configured.
External services
The plugin has no service of its own. It sends data only to the webhook URL you enter on its settings page — Slack, Discord, n8n or whatever you choose — and contacts nothing else. The terms and privacy policy of the service you point it at apply.
Nothing is sent until you save a URL. After that:
The “Send test message” button sends a fixed message plus your site address.
When the breaker trips, it sends: site address, the slug of the affected plugin, how many fatal errors occurred within which time window, the first line of the error message, and the file and line the fatal came from.
When a protected plugin reaches the threshold, the same data is sent without the file and line, together with the note that nothing was deactivated.
No visitor data is included — no IP addresses, cookies, form contents or accounts.
