• Start Here
  • Blog
    • Blogging
    • SEO
    • Themes
    • Plugins
    • Hosting
  • Tutorials
    • Create A Website
    • Start A Blog
    • WordPress SEO
    • Speed Up WordPress
    • WordPress Security
  • Tools
    • WordPress Hosting
    • Caching Plugins
    • Security Plugins
    • Comment Plugins
No Results
View All Results
GigaPress
  • Start Here
  • Blog
    • Blogging
    • SEO
    • Themes
    • Plugins
    • Hosting
  • Tutorials
    • Create A Website
    • Start A Blog
    • WordPress SEO
    • Speed Up WordPress
    • WordPress Security
  • Tools
    • WordPress Hosting
    • Caching Plugins
    • Security Plugins
    • Comment Plugins
No Results
View All Results
GigaPress

How To Troubleshoot WordPress’s White Screen Of Death

Charles Harvey by Charles Harvey
0
How To Troubleshoot WordPress’s White Screen Of Death
Share on FacebookShare on Twitter

Have you encountered an all-white screen when attempting to access or log in to your WordPress website? Known as the white screen of death, this is a common technical error that can cripple your website’s performance.

Rather than seeing your actual website, visitors will see a white screen:

As a result, search engines will likely bury your website’s organic listings in their search results.

Thankfully, you can restore your website’s functionality by identifying and fixing the underlying cause of the white screen of death.

What Is the White Screen of Death?

The white screen of death is a technical error in WordPress that results in some or all web pages on a website, as well as the admin dashboard in some instances, displaying a white screen.

Unlike other technical errors, it doesn’t reveal any messages or warnings. If your website suffers from the white screen of death, you’ll see a white screen when attempting to access the affected pages.

What Causes the White Screen of Death?

Although there are exceptions, the white screen of death is typically attributed to either a MySQL database or PHP error.

WordPress, of course, uses PHP to store and retrieve data from a website’s MySQL database. If an error occurs with your website’s PHP code or MySQL database, you may encounter the white screen of death.

How To Fix the White Screen of Death

Depending on the underlying cause, there are various ways to resolve the white screen of death.

Check the Status of Your Web Hosting Server

Before delving into the more technical troubleshooting methods, you should check the status of your web hosting server to ensure it’s up and running.

If the server hosting your website is down, whether for maintenance or any other reason, it may trigger the white screen of death.

If you have other websites hosted on the same server, try accessing them to see if they are affected. If all your other websites load and function properly, it’s safe to assume the problem is limited to your primary website. If all your websites display a white screen, your web hosting server is probably to blame.

In this case, you’ll want to contact your web host’s support team to see if they can help.

If you find this is a recurring problem, you may want to switch to a more reliable web host, such as one of our recommendations here.

Upgrade Your Web Hosting Server’s PHP

When was the last time you updated your web hosting server’s PHP?

While some web hosting providers automatically update their servers to the latest version of PHP, others do not. Running an outdated version of PHP is typically harmless, but it may cause conflicts with themes or plugins that require a newer version.

If your server has cPanel, you can typically change the PHP version through one of the built-in apps, such as PHP Selector or MultiPHP Manager.

Contact your web hosting provider for more information on how to upgrade your server’s PHP.

Increase PHP Memory Limit

In addition to upgrading your web hosting server’s PHP to the latest version, you should try increasing the PHP memory limit of your website.

The default memory limit isn’t always sufficient, especially if your website has lots of plugins. And without enough memory, your website may fail to load, resulting in the white screen of death.

To increase your website’s PHP memory limit, use a File Transfer Protocol (FTP) program to open the wp-config.php file in your website’s root folder.

After pulling up the wp-config.php file, add the following line of code anywhere between the opening and closing PHP tags:

define( 'WP_MEMORY_LIMIT', '256M' );

Test Plugins

Most cases of the white screen of death can be traced back to a plugin.

Just because a specific plugin functions properly for other websites doesn’t necessarily mean that it will work on your website. In some cases, a plugin may conflict with another plugin, a theme, or even the settings of your web hosting server.

Being that the white screen of death often restricts access to the admin dashboard, you might be wondering how you are supposed to test your website’s plugins.

The easiest way to test them without accessing the admin dashboard is to temporarily rename the plugins folder (located within the wp-content folder) using an FTP program. Adding or removing just a single character in the folder’s name will disable all your website’s plugins.

For example, you can rename the folder to plugins1 to disable all of your plugins. You can then create a separate folder with the appropriate name, plugins, to which you can move your plugins one by one.

After moving a plugin to the plugins folder, try accessing your website. If your website works and the white screen of death is no longer present, keep moving your plugins to the plugins folder one by one while rechecking your website each time.

If your website goes back to the white screen of death after moving a plugin to the plugins folder, that plugin is to blame. Once you’ve found the problematic plugin, delete it from your website’s server and move all your other plugins back to the plugins folder.

Switch to a Default Theme

If the white screen of death remains after disabling all of your website’s plugins, perhaps your theme is responsible for this technical error. Like plugins, themes can conflict with other files on your website.

To determine whether a theme is responsible for your website’s white screen of death, try switching to a default WordPress theme, such as Twenty Twenty.

Using an FTP program, go to your website’s wp-content/themes folder, after which you can save your current theme by downloading it to your computer or device.

Next, delete your current theme, as well as any other third-party themes in the folder, and upload a default WordPress theme (if one isn’t already there). You can now attempt to visit your website with the new default theme to see if the white screen of death has been fixed.

Restore a Backup

When all else fails, your only recourse may be to restore a backup of your website.

If your website just recently began displaying the white screen of death, restoring a backup from an earlier date should fix it.

The downside to restoring a backup is that you may lose some of your website’s content. Therefore, you should only use this method as a last resort when troubleshooting the white screen of death.

Final Thoughts

WordPress is often preferred over other CMSs because of its simple, easy-to-use interface. If your website is powered by WordPress, though, you’ll need to protect it from the white screen of death. If left unchecked, this otherwise common technical error will destroy your website’s search rankings and credibility.

If you have any questions about the white screen of death, please feel free to leave a comment below!

Previous Post

How To Downgrade WordPress To An Older Version

Next Post

11 Reasons To Build Your Business Website With WordPress

Next Post
11 Reasons To Build Your Business Website With WordPress

11 Reasons To Build Your Business Website With WordPress

No Results
View All Results

Join The Community

Be the first to see the latest WordPress tips, tricks, tutorials, and reviews from GigaPress.

GigaPress is free and reader-supported. When you make a purchase through one of our links, we may receive a commission at no additional cost to you.

Essential Resources

How To Create A Website: Step-By-Step Beginner’s Guide
Tutorials

How To Create A Website: Step-By-Step Beginner’s Guide

December 9, 2020
How To Start A Successful Blog In 2021: The Definitive Guide
Blogging

How To Start A Successful Blog In 2021: The Definitive Guide

December 13, 2020
How To Speed Up Your WordPress Site: The Only Guide You Need
Tutorials

How To Speed Up Your WordPress Site: The Only Guide You Need

February 28, 2021
WordPress Security: The Complete Step-By-Step Guide
Security

WordPress Security: The Complete Step-By-Step Guide

August 13, 2019
WordPress SEO Tutorial: The Complete Guide To Higher Rankings
SEO

WordPress SEO Tutorial: The Complete Guide To Higher Rankings

February 24, 2021

Get The Newsletter

Join our newsletter to get the best WordPress tips and tutorials every week.
    GigaPress

    © 2021 GigaPress
    A Merrill Media Publication

    Site Links

    • Start Here
    • Tools
    • About
    • Contact
    • Privacy

    Follow Us

    No Results
    View All Results
    • Start Here
    • Blog
      • Blogging
      • SEO
      • Themes
      • Plugins
      • Hosting
    • Tutorials
      • Create A Website
      • Start A Blog
      • WordPress SEO
      • Speed Up WordPress
      • WordPress Security
    • Tools
      • WordPress Hosting
      • Caching Plugins
      • Security Plugins
      • Comment Plugins

    © 2021 GigaPress
    A Merrill Media Publication

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Create New Account!

    Fill the forms bellow to register

    All fields are required. Log In

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Session expired

    Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.

    >