Recently I encountered an issue in WordPress while adding a new site. After installing the new theme and some required plugins. When I was likely to see the live preview nothing appears except the white screen. It was so weird as I could see only a blank white screen in WordPress preview.
I immediately posted the same into a couple of forums seeking for answers, a couple of moderators replied and told several possibilities.
Apparently headed over to Google, as I don’t want to spend more time on troubleshooting with all the reasons told in the Forums.
Fortunately, landed on a very helpful site and they named the error as WordPress white screen of death, it seems the problem was quite known and popular. I would like to share how I got rid of that frustrating white screen in WordPress site.
Symptoms of this WordPress white screen of death are –
- It locks out the Admin panel
- As we mentioned the live preview becomes blank
- Others are error free on the same hosting
If something went wrong with the current site only, then we can take a deep breath as we need to fix only it.
As we all know how frustrating it could be setting up things again. No worries solution are simple, just you need to recognize the problem from the above list.
This WordPress white screen of death could happen because of the below reasons –
- Bad Plugin installed (Not well coded)
- Exhausted Memory Limit
- Bad Theme installed (Not well coded)
- Hosting Error
So now we need to troubleshoot and fix the issue if the other sites are working fine. Because in that case, it might not be an issue with the hosting provider.
First TroubleShoot: Deactivate All the Installed Plugins
The reason behind deactivating the plugins is to cross check whether some of the plugins is poorly coded or had some compatibility issue.
If that is the case, the problem can be fixed faster by detecting that plugin and removing it. You can find alternates for that.
Disable plugins one by one and cross check the live preview if that worked. It is one of the common reason behind the WordPress white screen of death.
And in case this doesn’t help you get the preview, we need to move towards the next trouble shoot.
Second TroubleShoot: Exhausted Memory Limit
This will take few mins to check and should work, this happens if the memory is not being sufficient. So all we need to do is increase PHP memory limit, that’s it.
In order to do then you should login to your Cpanel or also you can do it through FTP client like FileZilla or any other.In my case, I will do it through
In my case, I will do it through the web hosting Cpanel.
Step 1. Login to your Cpanel.
Step 2. Find File Manager, and click on it. This will open up a new window where you would find all your files located.
Step 3. From Public_html of that particular domain find a file named .wp-config.php from the right side pane.
Step 4. Select that file and Right click on it and Click on Edit to view that file.
Step 5. Once you could access the file to edit, place the above code just above this text “That’s all, stop editing! Happy blogging”.
Note: Check the above image for better insights, it should look similar.
Step 6. Once done, click on Save changes.
And now you should see you site working, it worked for me by increasing the PHP memory limit.
Note: If it doesn’t then try to increase it to 512M instead of 256M. This should work and you would not see any the irritating blank white screen in WordPress.
If it does;t we can be sure now there is something wrong with the current theme.
Third TroubleShoot: Change the Theme Limit
All we need to do is change the theme with an alternate one. Changing and configuring the entire theme could be a little tedious and time consuming but in such case, this is the only option.
This is quite rare as all the themes are being developed these days putting the compatibility into the concern.
So, instead of changing to the new one, revert to any of the default(basic) themes provided by WordPress like twenty-seventeen or similar.
I am sure this will solve the issue and make your site up and running and finally no more WordPress blank page.
Do let me know if this which troubleshoot worked for you in the comment section below.