WordPress white screen
Why WordPress shows a blank page or a critical error and how to fix it step by step.
A blank page or the message "There has been a critical error on this website" almost always means a PHP error, most often due to a plugin, theme or an unsuitable PHP version. General advice: White screen.
- Remember what you changed last (an update, a new plugin, a PHP version change).
- Enable error logging. In File Manager open
wp-config.phpinpublic_htmland add above the line "That's all, stop editing":php define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false); - Repeat the error, then open
wp-content/debug.log. The last line usually names the plugin or theme file. - Deactivate the plugin: in
wp-content/pluginsrename that plugin's folder (e.g.nametoname-off). To disable all plugins at once rename thepluginsfolder toplugins-off. - Deactivate the theme: rename the active theme's folder in
wp-content/themes. WordPress will switch to a default theme. - Check the PHP version in Software → MultiPHP Manager. Older plugins do not always work on the newest version: Changing the PHP version.
- Increase memory if the log reports "Allowed memory size exhausted": PHP settings.
If it still does not work, restore the site: Restoring from a backup. For other errors see PHP errors and logs, and attach the log line to your ticket (https://support.scyhost.com/).
Questo articolo ti è stato utile?
Grazie per il tuo feedback! Ti serve aiuto? Apri un ticket.
Articoli correlati
Updating WordPressSafely updating core, plugins and themes, with a backup and automatic updates enabled.Changing the PHP versionHow to choose a PHP 8.x version for a domain in MultiPHP Manager and what to check afterwards.PHP errors and logsWhere to find error_log, how to enable error logging and how to read errors when troubleshooting.White screen (blank page)The page loads but is blank: PHP errors, memory, plugins and how to turn on error display.
