How to Fix White Screen of Death in WordPress

How to Fix White Screen of Death in WordPress


So you’re staring at a white screen of your WordPress and wondering where the site went? Well, do not feel alone. Almost all WordPress users have already faced the same problem at least once in their lives. Best of all is that, the white screen error of WordPress, is relatively easy to fix.

In this tutorial we will reveal the reasons behind the white screen and its various ways of repairing them.

Let’s start.

Why does the white screen error of WordPress happen?

The white screen error of WordPress can damage your entire website or parts of it. Everything seems to be working, but you get this error on certain posts or pages or even on more than one page.

This error may have been caused by:

1- Memory Exhaustion

2- Incompatibility of a theme with a certain plugin and vice versa

3- A badly encoded plugin or theme that comes up when you update your WordPress files

4- Problems with the hosting server

Whatever the mistake, it can be easily fixed with a bit of troubleshooting. Continue reading to find out how.

What do you need

Before starting the tutorial, you will need:

  • Access the WordPress admin area
  • Access your hosting or FTP control panel

Resolving the white screen error of WordPress

In this tutorial we will use the FileZilla FTP client to make necessary changes like editing and renaming files. However, you can achieve the same result by using File Manager. We will also assume that WordPress is in the public_html folder .

Fixing the white screen of WordPress may seem tacky at first, but it’s much simpler than you might think. Here are some steps you need to take:

Option 1 - Increase the WordPress memory limit

As previously discussed, lack of memory may be one of the likely reasons for white screen tricks. To solve this, all you need is:

1- Open an FTP client and connect to the FTP server .

2- Next, look for the folder public_html and wp-config.php .

3- Right-click on the file and select View / Edit

How to fix the white screen of WordPress

4- The file will open in your default text editor. Add the following line of code between the main PHP tags:

define ('WP_MEMORY_LIMIT', '64m');

How to solve the problem of white screen of death in WordPress

5- Save and close the file. The FTP client FileZilla will upload the modified file to the server.

6- Check your site and see if the error has been fixed.

It is also possible that your hosting provider has programmed a low PHP server-side memory limit. You can easily check this with the help of a phpinfo () function .

If you are still experiencing the white screen of WordPress after increasing your memory, proceed to the next step.

Option 2 - Check Plugins

If increasing the memory limit did not help or if your memory limit was already high, then the best thing to do is to do the checking of plugins. You can detect any problems with plugins by disabling them all at once instead of disabling them one by one. If the problem is solved after disabling the plugins, it should be easier to find out which exact plugin is causing problems.

For this, all you have to do is:

1- Log in to your FTP server and look for the public_html folder .

2 Browse to the public_html / wp-content folder .

3- Select the plugin folder and rename it to something different, for example plugins-disabled . This is a trick for WordPress to understand that the plugins folder does not exist, so it will not load any plugins on your website.

How to Troubleshoot the WordPress White Screen Problem

4- Confirm that your website is functioning normally.

If it is, everything indicates that the white screen of WordPress is the result of a problematic plugin.

To identify the plugin, follow these steps:

1 - Rename the folder back to plugins and go to.

2- Now disable one by one of the plugins by renaming their folders.

3- After each renaming, make sure your website is back to normal.

4- After finding the damaged plugin, delete your folder, reinstall or replace the plugin.

If this method does not fix the error, proceed to option 3.

Option 3 - Check themes

If you got here, the chances of your problem being a mismatch or a damaged theme are high.

The best way to identify if your theme is the reason behind the white screen of WordPress is to change the theme of your website to the default Twenty Seventeen theme. To do this, follow the instructions below:

1- Access your hosting control panel and open phpMyAdmin. On Hostinger, it’s located under Databases.

How to Solve the White Screen Problem of Death on Blog

2- Now click on wp_options and look for a theme and style (you need to click Show All to access these fields)

3- You should see the name of your current theme in the options. Double-click on your current theme and change to twentyseventeen .

The white screen of death in WordPress; how to solve this problem

4- This will disable your current theme and replace it for the default theme. Now check the website again. If it has been resolved, the problem is clearly on its subject. In these cases, you can try to reinstall it.

Option 4 - Check WordPress error logs

If nothing has fixed the problem, it’s time to check the WordPress error logs. You can check the errors that are being pointed out with the help of a WordPress debug function. Follow the steps below to enable this feature:

1- Connect to the FTP server and open the wp-config.php file for editing.

2- Search for WP_DEBUG and change its value from false to true .

define ('WP_DEBUG', true);

How to work with White Screen of Death (WSOD) in WordPress

3- Once changed, the white WordPress screen will show warnings, errors, and notes that will help determine the root cause behind this problem.


The white screen of WordPress can be annoying. By following the tutorial above we guarantee that you will be able to bring your website back. The steps mentioned above are easy to follow, however, if you’re having trouble following them, let us know in the comments and we’ll help you the best way possible, or contact our team.

Leave a Reply