初步評估

Fatal error in the active theme: HTTP 500 on the homepage and the login page

配方 20261106-active-theme-fatal · 最新一跑 2026-11-07 · 首次發布 2026-11-09 · 更新 2026-11-09 · Forum case

站主看到什麼

The site showed "There has been a critical error on this website" and wp-admin reported that the theme had been paused. On our Apache setups the login page also returned HTTP 500, so wp-admin could not be reached the normal way.

出處(公開論壇帖): https://wordpress.org/support/topic/error-this-theme-failed-to-load-properly-and-was-paused-within-the-admin/

測試環境與弄壞後看到什麼

測試站:WordPress 7.1、PHP 8.3。下表是照配方弄壞之後,首頁與登入頁回的 HTTP 狀態。

主機環境首頁登入頁備註
Apache + PHP-FPM500500
Apache + mod_php500500
Apache + php-cgi (mod_cgid)500500

每一跑的結局

日期(UTC)主機環境連線模式結局維修站版本備註
2026-11-06Apache + PHP-FPMSSHRecovered2.1.435
2026-11-06Apache + PHP-FPMFTPNot recovered2.1.435The re-check did not pass, and the system issued the automatic recovery-fee refund (payment is simulated in the lab).
2026-11-06Apache + mod_phpSSHRecovered2.1.435
2026-11-06Apache + mod_phpFTPRecovered2.1.435
2026-11-06Apache + php-cgi (mod_cgid)SSHRecovered2.1.435
2026-11-06Apache + php-cgi (mod_cgid)FTPRecovered2.1.435
2026-11-07Apache + PHP-FPMSSHRecovered2.1.436Re-test after the change below.
2026-11-07Apache + PHP-FPMFTPRecovered2.1.436Re-test after the change below.

缺口與修在哪一版

結局不是修好的跑次,都在這裡:改了什麼、修在哪一版、重跑的日期與結局。

發現日主機環境連線模式改了什麼修在哪一版重跑
2026-11-06Apache + PHP-FPMFTPWhen the health check also listed overdue scheduled tasks, the recovery hit the same theme error while running them and the re-check failed. The recovery now handles this combination.2.1.4362026-11-07 · Recovered
2026-11-06Apache + PHP-FPM全部The health check report printed the theme and the login page as normal while both were failing. The report no longer prints those two lines when the site cannot be opened.2.1.4362026-11-07 · Recovered

對到的故障項目

相關錯誤文章

補充

WordPress is designed to email the site's admin address with a recovery-mode link when it catches a fatal error. We did not check for that email in these runs.

這些是我們測試主機上、某一版、某一天的紀錄,不是對任何網站結果的承諾;其他主機、PHP 與 WordPress 版本的結果可能不同。

初步評估 →