Fatal error in the active theme: HTTP 500 on the homepage and the login page
サイト所有者に見えていた症状
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-FPM | 500 | 500 | |
| Apache + mod_php | 500 | 500 | |
| Apache + php-cgi (mod_cgid) | 500 | 500 |
各実行の結果
| 日付(UTC) | サーバー構成 | 接続方式 | 結果 | 製品バージョン | 備考 |
|---|---|---|---|---|---|
| 2026-11-06 | Apache + PHP-FPM | SSH | Recovered | 2.1.435 | |
| 2026-11-06 | Apache + PHP-FPM | FTP | Not recovered | 2.1.435 | The re-check did not pass, and the system issued the automatic recovery-fee refund (payment is simulated in the lab). |
| 2026-11-06 | Apache + mod_php | SSH | Recovered | 2.1.435 | |
| 2026-11-06 | Apache + mod_php | FTP | Recovered | 2.1.435 | |
| 2026-11-06 | Apache + php-cgi (mod_cgid) | SSH | Recovered | 2.1.435 | |
| 2026-11-06 | Apache + php-cgi (mod_cgid) | FTP | Recovered | 2.1.435 | |
| 2026-11-07 | Apache + PHP-FPM | SSH | Recovered | 2.1.436 | Re-test after the change below. |
| 2026-11-07 | Apache + PHP-FPM | FTP | Recovered | 2.1.436 | Re-test after the change below. |
ギャップと修正版
「復旧」以外で終わった実行はすべてここに記載します:変更内容、修正を含むバージョン、再実行の日付と結果。
| 発見日 | サーバー構成 | 接続方式 | 変更内容 | 修正版 | 再実行 |
|---|---|---|---|---|---|
| 2026-11-06 | Apache + PHP-FPM | FTP | When 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.436 | 2026-11-07 · Recovered |
| 2026-11-06 | Apache + 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.436 | 2026-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 のバージョンが異なれば結果も異なることがあります。