Hostwinds Tutorials

Search results for:


Table of Contents


White screen of death
How do I fix the white screen of death?
Why can't I upload images to WordPress?

Common WordPress Issues – Problems

Tags: WordPress 

White screen of death
How do I fix the white screen of death?
Why can't I upload images to WordPress?

White screen of death

If all you get when you go to your site is a blank white screen, this is called the white screen of death, and it's a common WordPress problem. A fatal PHP error normally causes it, and if you don't have error reporting turned on, you won't see anything but that white screen. Common causes include:

  • A problematic plugin
  • A problematic theme
  • You're running out of memory
  • Corrupted files in your WordPress installation

How do I fix the white screen of death?

As always, be sure you back up your files and backup your databases before making any changes so that Hostwinds can easily restore your account from a backup.

Turn on Debug

Go to your cPanel's File Manager or connect through FTP

Go to your WordPress document root or folder where this is installed

Open the wp-config.php file

Add the following line:

define('WP_DEBUG', true);

Take note of any errors that show up, if any, so that we can help

Plugins

The second thing we recommend is checking your plugins.

  1. Go to your cPanel's File Manager or connect through FTP
  2. Go to your wp-content folder
  3. Rename the plugins folder
  4. See if the problem is resolved
  5. If your site is now working, it's a problematic plugin
  6. Rename the plugins folder back to plugins
  7. Go in the plugins folder and rename all your plugins
  8. Now put the plugin name back to the original name one at a time to see if the problem happens again and to identify the culprit

Themes

If it wasn't a plugin, check that it's not your theme.

  1. Go to your cPanel's File Manager or connect through FTP
  2. Go to your wp-admin area
  3. Go to Appearance > Themes
  4. Activate another WordPress Theme
  5. See if the problem is resolved
  6. If your site is now working, it's a problematic theme

Memory

If neither of the above has helped, your site may be running out of memory needed to load everything on your site.

Go to your site's root directory in cPanel or FTP

Find the wp-config file

Make a backup copy of this file

Add this line:

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

Corrupt files

If all else fails, it might be that you've ended up with corrupt files in your WordPress installation. You can download the newest WordPress version and unzip the file somewhere or update WordPress through Softaculous if you have installed WordPress using Softaculous. If you have installed WordPress manually, you can upload and replace these folders:

  • wp-admin
  • wp-includes

Important: Do not upload and replace the wp-content folder, or you'll lose all your pages, posts, plugins, and everything else.

Why can't I upload images to WordPress?

If you're trying to upload images and getting the error "Unable to create directory /wp-content/uploads — try this:

  • Change your theme to use the default theme and see if that fixes it (if so, there's a problem with your theme)
  • Deactivate all plugins to see if it fixes it. If it does, reactivate one by one to find the problem plugin.

Lastly, if these don't work, check your folder and file permissions in cPanel or through FTP:

  • Files should normally be set to 644
  • Folders should normally be set to 755

If you have any trouble, please open a support ticket to help you in any way that we can.

Written by Hostwinds Team  /  December 13, 2016