White Screen Of Death: How to Fix WordPress Blank Page
White Screen Of Death: How to Fix WordPress Blank Page.
Have you ever encountered your WordPress site showing blank? And you are like, what is the problem?
You checked, your dashboard and it’s accessible, but your contents or files are not showing for site users and readers to access.
Well, my first time to have experienced WordPress blank page error, I had to contact my hosting service, complained it was from their end. They replied it wasn’t, because the site dashboard is opening. So, what else could be the cause of this error?
- I am sure You are transform by the information you get through me, I am also sure you can be part of our daily updates. why not leave your email behind let me keep you informed with information, jobs and inspire you always.
If that is your current experience, there are several things that could be cause of such error, in this article, I’ll put you through how you can fix it.
If you are an avid WordPress user, chances are you have encountered WordPress blank page error at least once. When this happens, it simply produces a WordPress blank page when you visit your website, which makes you wonder what causes the error.
The reasons for this error could be many, so we’ll go through them one by one. WordPress blank page happens when a PHP error or database error occurs, or when your memory is exhausted (and the system doesn’t even have enough time to break down gracefully and show an error).
Whatever the reason could be, if you see a WordPress blank page when visiting your website, follow the below guide to find and fix the source of white screen of death.
Note: Take sufficient backups before following the guide below. In case something weird happens, you can still restore your content.
Fixing White Screen Of Death/ WordPress Blank Page
When you encounter the white screen of death/WordPress blank page, one of the first things you need to figure out is to look at what you were doing just before your site stopped working.
Chances are the last thing you were doing is the reason for the most common WordPress errors below:
- Hosting issues
- Plugin issues
- Activating a faulty plugin
- Modifying an active plugin
- Theme- plugin conflict
- Theme issues
- Modifying functions.php file
- Outdated codes
- Exceeding the memory limit
- Corrupt core files
Solutions Fixing WordPress Blank Page
While we have talked about some of the errors that could lead to WordPress blank page, it would also be important we talk about the solutions.
1. Try using WordPress Debugging (WP_DEBUG) To Resolve The Problem
As a bit of an advanced step, you can use WordPress debug function (WP_DEBUG) to see the entire list of errors that are happening on your website. Using WP_DEBUG, you can make your website secure from future problems or potential attacks and essentially preventing the WordPress blank page from occurring again. [Google SEO: Tips You’ll Ever Need To Rank In Search]
2. Hosting Issues Causing A Website Blank Page
If you’re hosting multiple sites on the same hosting account, one of the first things you need to do is to visit all of your sites to determine whether all of them are affected with the white screen.
If all of your sites are affected, it is a strong indicator that your hosting provider has some issues. If there is a long downtime, most likely your hosting provider will notify you about it.
When your site is growing, it is very likely you’ll go over most resource limits of a shared hosting server. This is a strong indicator that you need to find a reliable hosting provider for your WordPress site. If you’re considering a reliable WordPress hosting provider, you should seriously consider InMotion hosting (which we use to power our site providing content to more than 4000 users EVERY day without any problems)
3. Plugin Causing A WordPress Blank Page
If you were working on a plugin by either modifying or activating it, it is very likely that the WordPress blank page is caused by the plugin issue. In this case, all you need to do is to navigate to plugins directory and deactivate the concerned plugin.
One other option for you if you’re not sure which plugin caused the problem, is to disable them one by one until you are able to fix the issue.
Once done, you should see your content restored as normal, however, you might not be able to do this if you are not even able to access the backend of your site.
In most cases, once a WordPress blank page appears you wouldn’t be able to login to your WordPress admin panel. In this case, you’ll need to access your site via FTP client to access WordPress plugin directory.
- Go to the folder where you installed WordPress
- Navigate to ../wp-content/plugins folder
- Locate the plugin you were modifying just before the WordPress blank page appears.
- If the error caused when you were installing a plugin, chances are there is a theme-plugin conflict. In this case, all you need to do is to delete the plugin, and you’ll see your website is being restored.
The above procedure should clear most common WordPress blank page plugin related issues. But if you’re using any WordPress caching plugins, make sure you clear the cache before visiting your site. Once done, now you’ll see your content is being shown normally.
4. Theme Issues Causing The WordPress Blank Screen
Again, you wouldn’t be able to log in to WordPress admin panel, but you can still access WordPress files by logging in with an FTP client.
Once you logged in, follow the below steps to find and fix the WordPress screen of death issues.
- Go the folder where you installed WordPress
- Navigate to ../wp-content/themes directory
- Locate your current theme inside the directory and find the file you were working on before appearing WordPress blank page.
- Upload a correctly working version of the concerned file. If you have a backup before causing WordPress blank page error, simply restore the files. Or manually find the code you were working on and fix it by either entirely removing the tweak you recently made or correcting the error in your code. [Google Adsense Account Approval Trick]
We strongly recommend you to use a child theme for modifying your theme rather than making tweaks on parent theme to avoid such scenarios.
5. WordPress Blank Page Caused By Exceeding Memory Limits Of Your Hosting Server
Exceeding the memory limits is another very likely reason for blank screen. This usually happens when you try to install a plugin that exceeds your default memory limit and causes the WordPress blank page.
Even if you haven’t installed a plugin recently, a temporary excessive load, or some other combination could easily cause your hosting to exceed its allocated memory.
When a WordPress site exceeds its memory limit, to conserve resources, the server starts to kill excessive processes. This will cause your website to die without terminating gracefully causing the WordPress blank page error.
For increasing PHP memory, open your wp-config.php file and copy the below code snippet on it. You should get in touch with you hosting server to make sure you have set the right amount on your shared server.
Permanent solution for WordPress blank page problem caused by memory issues
Incidentally, if your website is frequently exceeding its limit, you might want to consider InMotion VPS hosting server – during peak loads, InMotion has burstable memory, where your site gets allocated the memory it needs for a temporary period of time. This makes sure your site does not experience the white screen of death
6. Corrupt Core Files Might Cause The WordPress Blank Page
If none of the above solutions fix the issue, it’s possible that one of your WordPress core files may have corrupted. Though it’s very unlikely, it still happens especially if you suspect a hack attack on your WordPress website.
In Conclusion, whenever you encounter such issues that may cause a WordPress blank page always use the following procedure mention above to fix it. Although it is extremely frustrating, finding and fixing the WordPress blank page is not as difficult as it may look. Thanks and share with others if this helped you solve a your problem.