Initial assessment

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

Recipe 20261116-front-fatal-wpadmin · Latest run 2026-11-17 · First published 2026-11-16 · Updated 2026-11-17 · Acceptance test

What the site owner saw

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.

Source: acceptance test (failure set up on a WP119 test site); no forum thread. Only the latest run for each server setup and connection mode is listed.

Test setup and what we observed after the failure

Test site: WordPress 7.1, PHP 8.3. The table shows the HTTP status of the homepage and the login page after the recipe recreated the failure.

Server setupHomepageLogin pageNote
Apache + PHP-FPM500200
Apache + php-cgi (mod_cgid)500200
Apache + mod_php500200
nginx + PHP-FPM500200

Outcome of each run

Date (UTC)Server setupConnection modeOutcomeProduct versionNote
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

Gaps and the version that fixed them

Every run that did not end in "recovered" is listed here: what we changed, the version it shipped in, and the re-test date and outcome.

FoundServer setupConnection modeWhat we changedFixed inRe-test
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

Problem types this case covers

Notes

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.

These are records from our test servers, for a given product version on a given day. They are not a promise about the result on any site. Other hosts, PHP versions, and WordPress versions can behave differently.

Initial assessment →