初期診断

Acceptance test: fatal error in an active plugin on front-end pages; HTTP 500 on the homepage, the login page loads

レシピ 20261116-front-fatal-wpadmin · 最新の実行 2026-11-17 · 初回公開 2026-11-16 · 更新 2026-11-17 · Acceptance test

サイト所有者に見えていた症状

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-FPM500200
Apache + php-cgi (mod_cgid)500200
Apache + mod_php500200
nginx + PHP-FPM500200

各実行の結果

日付(UTC)サーバー構成接続方式結果製品バージョン備考
2026-11-16Apache + PHP-FPMSSHRecovered2.1.471
2026-11-16Apache + PHP-FPMFTPRecovered2.1.471
2026-11-17Apache + PHP-FPMWP adminRecovered2.1.479
2026-11-17Apache + php-cgi (mod_cgid)FTPRecovered2.1.474
2026-11-17Apache + php-cgi (mod_cgid)SSHRecovered2.1.474
2026-11-17Apache + php-cgi (mod_cgid)WP adminRecovered2.1.479
2026-11-17Apache + mod_phpFTPRecovered2.1.474
2026-11-17Apache + mod_phpSSHRecovered2.1.474
2026-11-17Apache + mod_phpWP adminRecovered2.1.479
2026-11-17nginx + PHP-FPMFTPRecovered2.1.474
2026-11-17nginx + PHP-FPMSSHRecovered2.1.474
2026-11-17nginx + PHP-FPMWP adminRecovered2.1.479

ギャップと修正版

「復旧」以外で終わった実行はすべてここに記載します:変更内容、修正を含むバージョン、再実行の日付と結果。

発見日サーバー構成接続方式変更内容修正版再実行
2026-11-16Apache + PHP-FPMWP adminIn 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.4722026-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 のバージョンが異なれば結果も異なることがあります。

初期診断 →