Joomla 3 blank page after a PHP 8 upgrade: what to do next
Record the error and preserve a recoverable copy before changing anything else. A PHP change can expose incompatible extension code; moving the PHP selector back does not finish the migration. Use the checklist below to separate immediate recovery from the supported target you need next.
Online version: https://sidecarsoft.com/blog/joomla-3-php-8-blank-page/
Does Joomla 3 support PHP 8?
Link to sectionThe archived Joomla requirements list PHP 8.0 as recommended for the final Joomla 3 series and mark Joomla 3 as unsupported. That is not a promise that an older Joomla 3 release, template or extension works on PHP 8.1, 8.2 or later. For what changes in each PHP 8.x version and the dates hosts remove old versions, see Joomla 3 on PHP 8: what works and what breaks.
PHP 8.0 introduced incompatible changes, including removal of each() and create_function(); see the PHP migration manual. An error mentioning one of these functions identifies code that needs attention, rather than proving that the database is damaged.
First: capture a recovery point
Link to section- Record the old and new PHP versions, the time of the change, Joomla version, affected URL and HTTP status. Check both the public site and /administrator/.
- Preserve the files, database and existing error logs before attempting repairs. Verify that the backup can be restored to an isolated test site; a downloaded archive alone is not a tested recovery route.
- Avoid combining a PHP change, Joomla update and template replacement in one attempt. On staging, change one thing at a time and keep a short record of each result.
Find the first relevant error
Link to sectionInspect the hosting control panel's PHP or web-server error log around the failed request. On a private staging copy, reproduce the request with detailed reporting. PHP's logging documentation explains display_errors and log_errors; it recommends logging instead of displaying errors on production sites. Do not publish raw logs containing private paths or request data.
- If the first fatal error names a third-party plugin or template, check its vendor's compatibility statement and update or replace it on staging. Test its dependent features before disabling it.
- If only rewritten URLs fail while the homepage and administrator work, inspect routing and web-server configuration before treating the issue as a PHP incompatibility.
- If the problem began with a PHP switch, compare the selected extensions and runtime settings as well as the version. Keep the first failing request and corresponding log entry together.
Restore service without losing the migration plan
Link to sectionIf your host still offers the prior runtime, restoring the last known working files, database and runtime together may help recovery. Treat an unsupported runtime as a temporary recovery measure, with access restricted where possible. Ask the host which maintained runtime it can provide and set a migration deadline; do not assume an old selector option will remain available.
Before reopening normal traffic, test sign-in, a content page, a form submission and scheduled publishing on the restored copy. Keep detailed error display off on the public site. These are suggested acceptance checks, not a guarantee that every extension works.
Choose the migration route on staging
Link to sectionThe Joomla 3-to-4 project guide starts from 3.10 and calls for extension compatibility checks. For the broader path, read our Joomla 3-to-5 migration guide. If content lives in K2, use the separate K2 migration checklist.
For a fresh-site approach, Bridge35 copies core content into an empty Joomla 5 target. It does not repair the old PHP installation or move templates, menus and third-party extensions. Copy media and rebuild those parts separately. The Joomla 5 requirements specify PHP 8.1 as a minimum; choose a currently supported PHP branch compatible with your complete target stack using PHP's support table.
Prepare the fresh-site route
Link to sectionReview Bridge35's requirements and exclusions before importing. Keep the source read-only, back up the empty target, run the preflight, and verify content, logins and URLs before switching traffic. A successful import is one checkpoint in a site migration.