My WordPress site is displaying a blank page

Written By: Tim Sisson
Experience Level: Beginner
Articles labeled as Beginner are those that require basic tasks to be completed, such as making simple configuration changes following a brief set of instructions. If you find yourself needing assistance, our Technical Support Department can generally assist.
Print E-mail:

We've had a lot of our customers and WordPress users in general have an issue where their site is showing a blank page. This blank page is typcially caused by a php error. If you have your php.ini file set to hide php errors, you'll get a blank page displayed.

To find your error messages you have two options:

  1. Enable display_errors in your php.ini file
  2. Review your error_log file(s)

Updating your php.ini file to show error messages

Here is my fully functional WordPress website:

blank_screen_1

Now that we've added the code to intentionally break the website, you will see our WordPress website displays a blank page:

blank_screen_2blank_screen_3

We don't see the PHP error message because we have set the directive in the php.ini file to hide error message. To fix this, we'll simply need to update it so it shows error message.

blank_screen_4blank_screen_5

Now, since we have adjusted the display_errors in the php.ini file, as you can see below our site now displays the exact error message causing the issue and we can start to troubleshoot it!

blank_screen_6

How to view your error_log to find error messages

The easiest way to find error messages is to view the error_log file in file manager. All PHP error messages are logged to this file. You can use FTP or the File Manager in cPanel to view this file and any of the error messages logged.

blank_screen_7blank_screen_8

Being able to view the actual error message causing your blank screen is important when trying to resolve ths issue. You can either attempt to debug the issue yourself or pass it on to your designer. 

 
Rating:
 
Please log in to rate this article.
Like this Article?
Notify Me of Updates!
Please login to subscribe to receive notifications when this article is updated.
Prerequisite Articles
None

Comments

Currently no comments

You must log in before commenting.

Need more Help?

Search
Current Customers
Chat:Click to Chat Now
Call:888-321-HOST (4678)
E-mail:support@InMotionHosting.com
Ticket Submit a Support Ticket
Ask the Community!
Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.
Not a Customer?
Get web hosting from a company that is here to help. Sign up today!

Follow InMotion Hosting!

 4246 Followers. Follow Us!