Fix the WordPress white screen
A white screen, or the message "There has been a critical error on this website", means PHP stopped. The cause is almost always a plugin, a theme, memory, or a PHP version change.
Work through these in order
1. Read the error
- Check the log. See Read your site's error log.
- Look for the last
PHP Fatal errorand the file named.
WordPress may also email the site admin a recovery link. Check that inbox.
2. Restore the last change
If it broke right after an update, restore. See Back up and restore WordPress. A daily restore point from before the change is usually quickest.
3. Turn off plugins
In your control panel: open Account → Hosting → your site → WordPress, click Manage next to the site, and open Plugins and themes. Switch each plugin off, then reload the site.
With WP-CLI:
cd ~/public_html
wp plugin deactivate --all
If the site returns, reactivate plugins one at a time. See Find a plugin causing problems.
With Files → File manager: rename wp-content/plugins to plugins-off, test, and rename it back.
4. Switch theme
wp theme list
wp theme activate twentytwentyfive
5. Raise memory
If the error says "Allowed memory size", see Raise the memory limit.
6. Check PHP version
A plugin may not support the PHP version you chose. Step back one version. See Pick a PHP version.
7. Check .htaccess
Rename .htaccess to .htaccess.off. If the site works, regenerate it in Settings → Permalinks → Save.
8. Turn on debugging
See Turn on WordPress debug logging for details.
If you're still stuck
Contact [email protected] with the URL, what you changed last, and the last few lines of the error log.
Still stuck? Ask us and we'll walk you through it.