WordPress White Screen of Death: 7 Fixes You Can Try Yourself
You open your site and see a blank white page. No error message, no menu, nothing to click. That is the WordPress white screen of death: PHP crashed before WordPress could build the page. Your posts, pages, and settings still sit in the database, and you can get the site back without hiring a developer.
Work through the seven fixes below in order. They run from the quickest and safest to the most drastic. Plugins and themes cause most white screens, so Fixes 2 and 3 come early. Stop at the fix that brings your site back.
Find your starting point
| What you see | Start at |
|---|---|
| A blank page with no message | Fix 1 |
| “There has been a critical error on this website” | Fix 1, then Fix 2 |
| The blank page appeared after a plugin install or update | Fix 2 |
| The blank page appeared after a theme change or an edit to functions.php | Fix 3 |
| “Allowed memory size exhausted” in the log | Fix 4 |
| The blank page appeared right after a PHP version change | Fix 5 |
White screen or critical error message?
Since WordPress 5.2, many sites show “There has been a critical error on this website” instead of a blank page. WordPress also emails the site admin address a recovery mode link. The cause and the fixes are the same. Check that inbox first: the link logs you in to a safe mode where you can deactivate the faulty plugin or theme in a few clicks.
Before you touch anything
Fixes 2 to 7 rename, replace, or restore files. Make a backup first if you can. Our guides on backing up WordPress with Duplicator and on backing up and migrating without bloated plugins cover two methods. If the site is already down, download a copy of the wp-content folder from the Plesk File Manager. It holds your themes, plugins, and uploads.
Fix 1: Read the error log
A blank page hides the error, but PHP still writes it to a log. In Plesk, open your domain and click Logs. Open the error log and look at the newest lines. The line names the file that crashed, and the path tells you the culprit:
/wp-content/plugins/plugin-name/points to a plugin. Go to Fix 2./wp-content/themes/theme-name/points to your theme. Go to Fix 3.- “Allowed memory size of … bytes exhausted” means PHP ran out of memory. Go to Fix 4.
- “Call to undefined function” right after a PHP change points to a version clash. Go to Fix 5.
If the Plesk log shows nothing useful, ask WordPress to write its own log. Open wp-config.php in the File Manager and add these lines above the comment that reads “That’s all, stop editing!”:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Reload the broken page, then open wp-content/debug.log. Remove the three lines when you finish. A debug log left on grows without limit and can expose file paths.
Fix 2: Deactivate all plugins
A plugin conflict or a bad plugin update causes more white screens than anything else. You can switch every plugin off without logging in:
- In the File Manager, open
wp-content. - Rename the
pluginsfolder toplugins-disabled. - Reload your site.
If the site loads, a plugin caused the crash. Rename the folder back to plugins, log in to wp-admin, and reactivate the plugins one at a time, reloading the site after each. The plugin that brings the white screen back is the one to remove, update, or replace. The error log from Fix 1 names it already.
Fix 3: Switch to a default theme
If plugins are clear, test the theme. Open wp-content/themes and rename the folder of your active theme, for example mytheme to mytheme-off. WordPress falls back to a default theme such as Twenty Twenty-Five, provided one is installed. If none is, upload a default theme into the same folder.
A site that loads after this change has a theme problem. Look at what changed last: a theme update, or an edit to functions.php. A missing semicolon or a stray character in that file can crash the whole site. Undo the edit, or reinstall the theme from a clean copy.
Fix 4: Raise the PHP memory limit
If the log reports an exhausted memory size, give WordPress more room. Add this line to wp-config.php, above the “That’s all, stop editing!” comment:
define( 'WP_MEMORY_LIMIT', '256M' );
If the error stays, the limit set for your domain in Plesk under PHP Settings may sit below this value, and the lower number wins. Raise memory_limit there too. A limit of 256M covers most sites. A plugin that still crashes at that level has a leak or runs a heavy task, and a higher limit only delays the next crash. Find that plugin with the steps in Fix 2.
Fix 5: Check your PHP version
A plugin or theme written for an older PHP version can fail on a newer one, and a recent plugin update can demand a newer version than your site runs. Both end in a fatal error. Open PHP Settings for your domain in Plesk and check which version is active. If the white screen followed a version change, switch back to the previous version and reload.
Treat the rollback as a stopgap. Old PHP versions stop receiving security fixes, so update the incompatible plugin or theme, then move forward again.
Fix 6: Replace core files and reset .htaccess
A failed update or an interrupted upload can leave WordPress core files damaged. Download a fresh copy from wordpress.org, unzip it on your computer, and upload the wp-admin and wp-includes folders to your site, overwriting the existing ones. Leave wp-content and wp-config.php alone. They hold your content and your database settings.
For a damaged .htaccess file, rename it to .htaccess-old. Once the site loads, go to Settings, Permalinks in wp-admin and click Save. WordPress writes a fresh file.
Fix 7: Restore from a backup
If nothing else works, restore the newest backup taken before the white screen appeared. Restoring replaces your current database, so recent posts, comments, and store orders disappear with it. If you run a store, export the latest orders first. The two backup guides linked above walk through restoring a site.
When to open a support ticket
If you have worked through all seven fixes and the screen is still white, open a support ticket with JetNode. A good ticket gets a faster answer. Include:
- Your domain and the time the white screen started
- Recent changes: an update, a new plugin, a PHP version change
- The last 20 lines of the error log from Fix 1
- The fixes you already tried
You can also reach the team from the contact page.
Keep it from happening again
Most white screens follow an untested update. Test updates on a copy of your site before they touch the live one. JetNode WordPress hosting runs on Plesk with WP Toolkit, which can clone a site to a staging copy where a broken plugin crashes nothing that matters.
