If you’re using WordPress for a long time then you may come across the term named The White Screen Of Death (WSOD). This is a one of the worst error that a beginner falls in and get in deep trouble. Following some steps this error can be fixed. Today we’ll go through the possible ways to Fix White Screen Of Death error in WordPress.
First let’s have a look why this problem occur. The WSOD can cause for some couple of reason. Probable reasons are listed below.
- Poor memory limit
- Incompatibility between Themes or Plugins
- Syntax error
In five steps we’ll try to Fix White Screen Of Death issue.
Increase Memory Limits
Disable Themes and Plugins
Fix in Syntax Errors
Enable Debug Mode
Check File Permission
1. Increase Memory Limits
Most of the time we use a shared hosting server that are given a lower memory to function properly a for a wide range of plugins or themes. Then the exhausted memory causes this problem.
To resolve this problem you need to increase the memory. Locate your wp-config.php file using your FTP manager and edit this file. Add the code given below to the file.
If this doesn’t resolve the problem you can increase memory limit through .htaccess file that are in your sites root directory. Simply add the following line in your .htaccess file.
php_value memory_limit 64M
If you have issue with poor memory hope this’ll Fix White Screen Of Death issue.
2. Disable Themes and Plugins
Sometimes this problem may cause for incompatibility of themes or plugins. To find the culprits you’ve to do the followings.
First of all deactivate all your themes installed in WordPress and refresh the page where the problem occur. See whether the problems fixes or not. If it is ok then the problem lies in your themes. To find the individual one causing problem activate your theme one by one. After activating the theme if the White Screen Of Death occurs again then the theme is responsible for causing the error.
After you find the accused theme for the error you can contact with it’s developer to solve this issue.
Same problem may lies in for a specific plugin. Solve for this issue is same as for theme. Follow those steps to find the theme responsible for the error.
3. Fix in Syntax Errors
If you use a poorly coded themes or plugin that may also cause the The White Screen Of Death may occurs. When there is a character less or more than it demands then the error occurs. If the error is relate to wp-config.php or functions.php then find the associated file by FTP manager and look into that if there is a blank line before opening or after closing a php tag. Delete those blank line and saving the file reload the page. Hope this will fix the issue if it relates with Syntax Error.
4. Enable Debug Mode
If you failed to detect the problem lies in then enable WP_DEBUG feature to find it. Open your wp-config.php file through FTP manager once again and add the line below
Save the file and reload the page. Now you will be given the clue where the problem hidden in. Locate that file and if you are familiar with coding a bit then resolve the issue
5. Check File Permission
If all the attempts go in vain then check your file permission. A wrong file permission may cause this error. Check and reconfigure your file if it have any issues. For instance
- Change File Permission value to 644
- Folder Permission value to 755
We know that this is one of the most confusing errors of WordPress. But we hope that one of the solutions above will help you to Fix White Screen Of Death Of WordPress error. If you find this article useful that stay tuning with Code Astrology blog.