[NEW] Introducing Inline Help to Clarify Backups and Migrations
Are you struggling to fix the WordPress white screen of death?
The white screen of death (WSOD) is a common error many WordPress website owners face. It can often be stressful because it replaces your content with a completely blank white screen.
In this tutorial, we’ll show you how to resolve the WordPress white screen of death!
The WordPress white screen of death (WSOD), is an error that is essentially a blank, white screen on your WordPress site. The WSOD can happen to the admin area, a specific post, or the entire front end.
Seeing a blank, white page instead of your website can be frustrating and unexpected. However, there are a few common causes for this issue.
The white screen of death can also happen because of PHP errors, caching, server downtime, or corrupted files. Pinpointing the issue can sometimes be difficult, but there are many ways to get your site back online.
Tackling the WordPress white screen of death may seem complex, especially if you’re a beginner. Let’s troubleshoot together and find the root cause for your white screen error. A solution is closer than you think!
When you encounter the WordPress white screen of death, you might think the issue is exclusive to your website. However, it could be a glitch on your whole web hosting platform.
The first step is checking other sites you have on the same hosting server. You’re looking to see whether they’re suffering from the same issue.
If your other websites are functioning normally, then it suggests your problem is isolated to the specific WordPress website.
However, if they all show a white screen, then it points to an issue with your server or WordPress hosting provider. In this case, reach out to support.
Move on to the next step if the issue is website-specific. Remember, the WordPress white screen of death can have a lot of causes, so it requires careful troubleshooting.
Often, the easiest way to resolve fatal errors is to restore a clean backup. Instead of troubleshooting, you can simply roll back your site to the last error-free version.
For this process, we’ll be using Duplicator’s disaster recovery feature. This allows you to restore your website without needing to access the WordPress dashboard (a helpful feature for fixing the WSOD).
First, install and activate Duplicator Pro on your WordPress site. Before an error happens, be sure to set up a backup for disaster recovery:
After this, copy the recovery link or download the launcher file. Save these in a safe location (away from your dashboard):
When the WSOD happens, paste the recovery link into a new browser window. Alternatively, open the launcher file. This will open the recovery wizard:
Follow the steps to restore your site. Once Duplicator is finished, the white screen of death will be gone!
Sometimes, the white screen of death is caused by a poorly coded plugin or theme. If this happens on your site, WordPress could send you an email with a special link to enter recovery mode.
Click on the link in the email. You’ll be directed to the WordPress admin dashboard and shown which plugin or theme is causing the error.
Now you can fix the error. It may involve deactivating, deleting, or replacing the faulty plugin or theme.
However, you might not get an email from WordPress with a recovery mode link. In this case, you’ll need to manually solve the underlying issue.
As we mentioned earlier, the white screen of death could be caused by a bad plugin. If you suspect this, but you’re not sure which plugin is at fault, it’s time to deactivate all your WordPress plugins.
If you can still log into your wp-admin dashboard, go to the Plugins page. Select all of the plugins in bulk and deactivate them.
However, your dashboard could be a white error screen. If so, you’ll need to access your WordPress site via an SFTP/FTP client like FileZilla or a file manager like cPanel.
Once you’ve accessed your core files, navigate to the wp-content folder. Here, you’ll find a folder labeled plugins.
Right-click the plugins folder and choose to Rename it. You might name it something like plugins-deactivated to remind you of its status.
With the plugins folder renamed, all your plugins are now effectively disabled. Visit your site. Do you still see the white screen of death?
If the white screen disappears, congratulations! You’ve located the problem – it’s one (or more) of your plugins causing the issue. Now the task is to find out exactly which plugin is responsible.
From here on, it’s just a process of elimination. Activate each plugin one at a time, refreshing your site after each activation. When the white screen of death reappears, you’ve found the faulty plugin.
If you still encounter the WordPress white screen of death even with all plugins deactivated, it’s time to move on to the next step of troubleshooting: checking your theme.
Often, the WordPress white screen of death can be caused by a poorly developed theme or a theme conflict with a plugin. To verify if your theme is causing the problem, it’s best to activate a default WordPress theme.
Within the root directory of your website, navigate to wp-content/themes/.
Save a copy of your current theme’s folder on your local drive as a backup.
Now, delete your theme’s folder.
WordPress will revert back to the latest default theme like Twenty Twenty-Three. Refresh your website to see if the white screen of death has been resolved.
If the WSOD disappears, you’ll know your theme is causing the issue. You should look at the functions.php file and remove any extra spaces at the bottom. You may also need to remove any poorly coded functions.
To completely reset your theme, consider downloading a fresh copy from WordPress.org and re-installing it.
If the problem persists, then the issue might not be with your active theme. In such cases, you can move on to other solutions.
Outdated data could be stuck in your browser or WordPress cache. That’s why it’s essential to clear them out, especially when troubleshooting this error.
If you’re clearing your Chrome browser cache, go to More tools and click on Clear browsing data.
Then, select the time frame and the type of data you want to delete.
Depending on the caching plugin you’re using, the process to clean the WordPress cache may vary.
However, most plugins (like W3 Total Cache, WP Rocket, or WP Super Cache) have the option directly visible in the WordPress dashboard.
Clearing your caches may remove that blank page and restore your WordPress site.
The debugging feature in WordPress can provide vital information for troubleshooting errors. It will display any PHP errors, warnings, or notices that are affecting your site.
To enable debug mode, you’ll need to access the wp-config.php file. This file is located in your website’s root directory.
Find the line of code that says,
/* That's all, stop editing! Happy blogging. */
Right above this, insert the following lines:
define( 'WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
Save your changes and exit the file.
Once you’ve enabled debugging, you can see warnings and error codes that help you solve the problem.
If you don’t see any, check the debug.log file inside the wp-content directory.
The WordPress white screen of death could appear if a script exhausts your server’s memory. If your site is attempting to process more data than your current memory limit can handle, it could result in the dreaded white screen.
With this in mind, increasing the memory limit is often an effective solution.
You can increase your memory limit by editing your wp-config.php file. Add the following code:
This increases your WordPress memory limit to 256MB. Feel free to tweak this number to better serve your site’s specific needs.
But remember, your hosting provider might also have a set memory limit that you can’t override. If this is the case, you’ll need to contact its support team directly to request an increase.
WordPress file permissions play a critical role in the functionality of your site. Incorrect file permissions could be the hidden villain causing the infamous WordPress white screen of death.
Here are the correct file permissions for WordPress:
If you notice any file or directory with incorrect permissions, modify them to prevent any further disruptions.
While setting permissions, always remember it’s safer to be more restrictive. Never set your files to 777 (which means everyone can read, write, and execute your files).
It’s important to consistently update WordPress core, themes, and plugins. However, if an update fails, this could lead to the WSOD.
WordPress adds a .maintenance file during an update and deletes it once the update is finished. If something goes wrong, your site could be stuck in maintenance mode.
To fix this, open your site’s public_html directory and see if there’s a .maintenance file. If so, delete it.
Coding mistakes could disrupt your website’s functionality. You might try to add code snippets to your website, and accidentally miss a character or two, or don’t follow the correct syntax.
The result? The dreaded WordPress white screen of death.
If you just updated some code, go ahead and undo this change. If you’re not sure which part of the code is the problem, try restoring a backup.
This should fix the WordPress white screen of death caused by syntax errors.
Always test new code on a staging site. As you can see, any small syntax errors could take down your entire site. So, it’s better to try out new changes in a safe area.
PHP text processing capacity is about the number of variables a PHP script can handle. If this limit is very low, your website might not load, giving you the WSOD error.
Sometimes, this can happen because one of your pages or posts is very long. To increase your PHP text processing capacity, add this code to your wp-config.php file:
/* Trick for long posts /
Save the file and try to access your site again.
Once you fix the white screen of death, you’ll want to make sure it never happens again. A few preventative steps can save you hours of troubleshooting and keep your website running smoothly.
Duplicator supports 14 different storage options. You can easily send your backups to cloud storage, ensuring your data is always protected from server errors.
To make your management tasks easier, set up automatic backups. Duplicator can back up your site every hour, day, week, or month. Choose a schedule that best protects your site.
The white screen of death could happen at any time, so it’s important to enable disaster recovery. Hit the house icon next to a full backup that’s stored locally.
Then, copy your recovery link or download the launcher. This way, you’ll be prepared for the worst!
It’s important to carefully select your themes and plugins. Unreliable or outdated software can trigger the WSOD. Use reputable sources and ensure any theme or plugin is compatible with your version of WordPress.
If you’re not sure where to start, here are our expert picks:
WordPress has a Site Health feature, which helps you monitor your website’s performance and detect potential issues that may lead to the WSOD. You can use this to keep an eye on your site’s security.
You could also consider installing a security plugin. These often scan for vulnerabilities to ensure your website always stays online. You’ll usually get notifications about any technical difficulties.
Removing unused themes, plugins, and unnecessary data not only speeds up your site, it reduces the risk of encountering errors. So, schedule frequent cleanup sessions.
A staging site is a safe playground for you to test updates or try out new plugins and themes before applying them to your live site. This way, any new errors can be spotted and fixed without putting your actual website at risk.
Yes, the WordPress white screen of death can be fixed. Various troubleshooting methods, such as disabling plugins, checking file permissions, and increasing the memory limit can effectively resolve the issue.
Yes, a virus or malware can result in a white screen. They can affect your system files or even rewrite code, resulting in the WSOD. However, this error is more commonly caused by coding errors or technical glitches.
Your WordPress site may be suddenly not loading because it’s experiencing the white screen of death. Your server could also be down.
To fix the problem, read this guide on the most common WordPress errors.
WordPress will send your admin email a recovery link, along with details about the error. Click on this link to access your recovery mode WordPress dashboard.
You can fix the WordPress white screen of death by restoring a backup, disabling plugins and themes, or increasing your memory limit. You can also try checking your file permissions, increasing PHP text processing capacity, and removing the .maintenance file.
That’s it! We hope this guide helped you fix the white screen of death.
While you’re here, you may also like these WordPress tutorials:
Are you ready to protect your WordPress site with automatic cloud backups? Download Duplicator Pro today!
Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.