How do I correct the "white page of death" error?
Fix blank page error on a WordPress site
The white screen (blank page) is one of the most common errors that occur in WordPress. In this tutorial, we will look at some possible causes and ways to correct them.
In addition, you can ask our team to help you solve this problem step by step.
NOTE: Before making any changes, make sure you have generated a complete backup of your website.
Clear your site cache
If you have a blank page, you should first try to clear the cache of your WordPress site. You should have access to a purge option at the top of the WordPress dashboard.
If LSCache or Cloudflare are enabled on your site, you must empty their respective cache. See the following articles to clear the [Litespeed] cache (https://help.ex2.com/en/article/how-to-clear-the-cache-of-a-website-with-litespeed-web-cache-manager-17arr1i/?bust=1682601287563) and Cloudflare. Once these caches are cleared, also clear your web browser’s cache.
Check error log
PHP errors are most often the cause of a blank page. Check the error log is therefore recommended to identify the problem. To do this, you can use the cPanel Errors tool or check the error_log file in your site’s root folder to locate the problem.
Enable WP_DEBUG mode
You can also use the WordPress debug feature to identify the type of error that occurred. To do this, locate the wp-config.php file in your site’s root folder. Open it and make sure that WP_DEBUG mode is enabled.
Increase PHP and WordPress memory limits
Exceeding the memory limit is one of the most common causes behind blank page errors. The indications for this error can be either a white screen or an error message. We therefore recommend that you increase the limit of your account’s PHP values and that of WordPress to prevent errors of this origin.
One of the most common causes of white page on WordPress is a plugin problem. Try disable plugins to check if this is the case.
If you are not sure which plugin caused the problem, try to disable them one by one until you are able to get to the bottom of the problem and solve it.
Change site theme
If the plugin troubleshooting does not fix the white screen on the site, then you should try to change the theme.
NOTE: Make sure the default theme is present in the/wp-content/themes folder.
Change PHP version
The blank page can also be caused by a problem with your PHP version. You can try changing the version used to check for this possibility.
If you are still experiencing the same issue after completing each of these steps, please contact our team for assistance.
Updated on: 27/04/2023