Acceptance test: fatal error in an active plugin on front-end pages; HTTP 500 on the homepage, the login page loads
サイト所有者に見えていた症状
Set up on a WP119 test site: an active plugin was modified so that loading any front-end page called a function that does not exist, a PHP fatal error. The homepage returned HTTP 500. The login page and wp-admin still loaded, so the test also ran in WP admin mode.
出典:受け入れテスト(WP119 のテストサイトで設定した障害)。フォーラムのスレッドはありません。サーバー構成と接続方式の組み合わせごとに最新の実行だけを掲載します。
テスト構成と、障害再現後に観測した状態
テストサイト:WordPress 7.1、PHP 8.3。下の表は、レシピどおりに障害を再現した後のトップページとログインページの HTTP ステータスです。
| サーバー構成 | トップページ | ログインページ | 備考 |
|---|---|---|---|
| Apache + PHP-FPM | 500 | 200 | |
| Apache + php-cgi (mod_cgid) | 500 | 200 | |
| Apache + mod_php | 500 | 200 | |
| nginx + PHP-FPM | 500 | 200 |
各実行の結果
| 日付(UTC) | サーバー構成 | 接続方式 | 結果 | 製品バージョン | 備考 |
|---|---|---|---|---|---|
| 2026-11-16 | Apache + PHP-FPM | SSH | Recovered | 2.1.471 | |
| 2026-11-16 | Apache + PHP-FPM | FTP | Recovered | 2.1.471 | |
| 2026-11-17 | Apache + PHP-FPM | WP admin | Recovered | 2.1.479 | |
| 2026-11-17 | Apache + php-cgi (mod_cgid) | FTP | Recovered | 2.1.474 | |
| 2026-11-17 | Apache + php-cgi (mod_cgid) | SSH | Recovered | 2.1.474 | |
| 2026-11-17 | Apache + php-cgi (mod_cgid) | WP admin | Recovered | 2.1.479 | |
| 2026-11-17 | Apache + mod_php | FTP | Recovered | 2.1.474 | |
| 2026-11-17 | Apache + mod_php | SSH | Recovered | 2.1.474 | |
| 2026-11-17 | Apache + mod_php | WP admin | Recovered | 2.1.479 | |
| 2026-11-17 | nginx + PHP-FPM | FTP | Recovered | 2.1.474 | |
| 2026-11-17 | nginx + PHP-FPM | SSH | Recovered | 2.1.474 | |
| 2026-11-17 | nginx + PHP-FPM | WP admin | Recovered | 2.1.479 |
ギャップと修正版
「復旧」以外で終わった実行はすべてここに記載します:変更内容、修正を含むバージョン、再実行の日付と結果。
| 発見日 | サーバー構成 | 接続方式 | 変更内容 | 修正版 | 再実行 |
|---|---|---|---|---|---|
| 2026-11-16 | Apache + PHP-FPM | WP admin | In WP admin mode, links in posts and pages that pointed to the site itself and started with https:// came back as http:// after the restore; the site address uses http://. When it can read the site address from the site settings, WP admin mode now leaves links in the other scheme as they were. | 2.1.472 | 2026-11-17 · Recovered |
この事例が対象とする問題の種類
補足
The 2026-11-16 WP admin run on Apache + PHP-FPM ended in "Recovered"; comparing posts and pages before the case opened and after the restore found the changed links. As set out in Method and definitions, that run is not listed and its gap row stays. Before 2.1.472, WP admin mode used the same code on every server setup.
これらは当社のテストサーバー上で、特定のバージョン・特定の日に記録したものであり、どのサイトについても結果を約束するものではありません。ホスティング、PHP、WordPress のバージョンが異なれば結果も異なることがあります。