Reason for WordPress White Screen of Death error:
In WordPress, White screen of Death is the most common issue. Here you have few solutions to resolve this issue. Most of the time this error is occurred by exhausted memory limit, and by plugins that may not function properly. It can be caused by using poor themes or else this issue can be raised by your web hosting provider. We can troubleshoot this issue in many aspects.
Troubleshooting White Screen of Death:
Increasing the memory limit:
This issue can occur due to exhausted memory. You have to increase PHP memory limit on your WordPress site.
Disabling All Plugins:
If the issue is not fixed after troubleshooting with the memory limit, check with Plugins or Themes. Now, You have to check by disabling all the plugins.
Replace Theme with a Default Theme:
- If the disabling plugins do not help, then replace the current theme with a default twenty ten themes. The best way to replace theme is by backing up the theme folder. Then deleting the theme and WordPress will automatically fall back to the default theme.
- The other way is to update database tables in the wp_option table within phpMyAdmin. Then update the following table names such as Template, stylesheet, and current_theme. Change the value to twenty eleven.
- Then you look at your theme’s functions.php. Check any extra spaces at the bottom. If there are any poorly coded functions in the theme’s functions.PHP, then it can cause this issue.
- If the issue is not fixed after trying these possible ways, check with some other aspects.
- Reinstall a fresh copy of WordPress. But it is always possible that a core file may have been corrupted. You can use WordPress debug function to see what type of error is being occurred. Add the following code in WP-config.php file
error_reporting(E_ALL); ini_set('display_errors', 1);
define( ‘WP_DEBUG’, true);
- Once you uploaded the above code, You can able to see some errors on the home page like warnings and notice. This may help you to find the root cause of the issue.
- Sometimes, you can able to access the backend, but you have a white screen of death on the front end. This may occur because of caching plugins.