White screen (blank page)
The page loads but is blank: PHP errors, memory, plugins and how to turn on error display.
A white screen means PHP stopped without printing a message because error display is turned off. For WordPress also see WordPress white screen.
Symptoms#
A completely empty page with no text, sometimes with status 500 in the browser tools (F12 → Network).
Causes#
- a fatal PHP error in a theme, plugin or your own code,
- an incompatible PHP version or a missing PHP extension,
- too little memory (
memory_limit), - a damaged or incompletely uploaded file,
- an error in
.htaccessorphp.ini.
Step-by-step fix#
- Open the error log in cPanel (Metrics → Errors) or
error_login the site folder. The cause is usually in the last lines (PHP errors and logs). - Check the PHP version in Select PHP Version / MultiPHP Manager and try another (Changing the PHP version).
- Increase memory in the MultiPHP INI Editor (PHP settings).
- Disable plugins and the theme by renaming their folders.
- Re-upload files if you suspect a damaged upload.
Temporary error display#
For diagnostics you can set this in php.ini or the MultiPHP INI Editor:
ini
display_errors = On
error_reporting = E_ALLTicket#
Open a ticket with the domain, the last lines of the error log, the PHP version and a list of changes made before the problem appeared.
¿Te ha resultado útil este artículo?
¡Gracias por tu opinión! ¿Necesitas ayuda? Abre un ticket.
Artículos relacionados
WordPress white screenWhy WordPress shows a blank page or a critical error and how to fix it step by step.Changing the PHP versionHow to choose a PHP 8.x version for a domain in MultiPHP Manager and what to check afterwards.PHP settings (MultiPHP INI Editor)How to change memory_limit, upload_max_filesize, max_execution_time and other PHP directives.PHP errors and logsWhere to find error_log, how to enable error logging and how to read errors when troubleshooting.
