WordPress white screen of death
The white screen of death WordPress is one of the most common WordPress errors. This is also one of the most frustrating because there is no error message, and WordPress is blocked.
Another problem with the death error blank screen is that sometimes it only affects part of your website.
For example, you may only see the white death screen inside the WordPress admin area, while everything else will work fine. In other cases, you can only see it on a specific message, while everything else works well.
In this article, we will show you how to repair the white screen of WordPress death by examining different solutions.
Tackling the problem may seem awkward at first, but it is relatively simple to solve. You will only need to access the file manager or phpMyAdmin on your hPanel.
Method 1. Increasing WordPress Memory Limit
Insufficient memory could be one of the possible problems behind the white screen. So, to solve this problem, you will need to:
- Go to hPanel -> File Manager.
- The File Manager menu on the hPanel
- Tap File Manager and locate the wp-config.php file in the public_html folder.
- 4.Click the right button on the file and select Edit.
- edit the wp-config.php file to fix wordpress blank screen error
- Just before the line that says / * That's all, stop editing! Happy blogging. * /, add the following function: define ('WP_MEMORY_LIMIT', '64m');
- Increase the memory limit with integrated WordPress function
- Save and close the file.
- Reload your website and see if this fixes the WordPress blank screen error.
It is also possible for your hosting provider to set a low PHP memory limit on the server. You can check this by using the phpinfo () function.
Method 2. Checking Plugins
If increasing the memory limit did not help, you probably already have a high memory limit. It is then better to check your plugins.
To detect possible plug-in issues, you must disable all plug-ins at once instead of one at a time.
Follow these steps to do this:
- Go to public_html -> wp-content.
- Click the right button on the plugins folder and rename it to a different name - for example, plugins-disabled.
- Rename the plugins folder in wp-content.php to fix the WordPress dead-death error blank screen.
- It is to deceive WordPress that the plugins folder does not exist. So, it will not load plugins on your website.
- Reload your website.
- If the problem is solved, it is clear that the white screen of death WordPress is the result of a problematic plugin.
- To identify the plug-in causing the problem, follow these steps:
- Rename the plugins folder into plugins and go to it.
- Now, disable the plug-ins one by one by renaming their folders
- Disable plug-ins one by one by renaming their folders.
- After each name change, check to see if your website is functioning normally
- Alternatively, if you can access your WordPress admin area, disable and enable plugins from the Plugins -> Plugins Installed section.
Once you know which plugin is causing the problem, delete its folder. You can also try to reinstall or replace the plugin.
Method 3. Checking Themes
If the previous methods still do not work, the WordPress white screen problem may be due to a bad or incompatible theme. Confirm it by toggling the theme of your website to the Twenty Seventeen default theme.
To do this, follow the steps below:
- Access your hPanel and run phpMyAdmin -> EnterphpMyAdmin.
- phpMyAdmin menu on your hPanel
- Click on the wp_options table and look for the model and style sheet values.
- You should see your current theme name in the option_value column. Double-tap the name and change it in twenty-seven years.
- Changing the current theme to Twenty Seventeen's default theme to fix the error
- Now, reload your site.
If the error disappears, the main problem is your theme. Use another one or try reinstalling the corrupted theme.
Method 4. Checking WordPress Error Logs
If nothing seems to solve the problem, it's time to check the WordPress error logs. Do it with the help of the debug function of WordPress. Perform the following steps to enable it:
- Navigate to the wp-config.php file in the public_html folder.
- Add the following code just before / * That's all, stop editing! Happy blogging. */ line.
- define ('WP_DEBUG', true);
- Diagnosis of the causes of the blank page error in WordPress with the debug function
- Save and close the file.
- When reloading your site, the white WordPress death screen displays warnings, errors, and notifications. This will help you determine the root cause of the problem.
Now, all you have to do is solve the problems by following the instructions on the screen.