The WordPress Admin Panel and The Blank Screen of Death

A client approached me with an issue that I had yet to encounter while working with WordPress. After he had upgraded to the latest version, he tried to login to his admin panel but was confronted with the horrible blank screen of death. If you have never seen it consider yourself lucky. All of a sudden it appears as if your admin panel no longer exist.

This doesn’t always happen but when it does it can be pretty frustrating to figure out what’s going on. There are many posts online as to what may be causing this annoyance. Some people who have encountered this issue have found the culprit to be plugins (see here). But that wasn’t the case for me. It took me a lot of messing around to figure out what was going on. In the end, it came down to the difference between this…


and this…


.

Line #32 is the difference (imagine that period is just a blank line). An extra blank line after the last “?>” caused the whole thing. Bah! I removed that and everything worked great.

Share this:

Email
Facebook
Twitter
Pinterest
Pocket

Premium Themes for WordPress

Looking for an easy-to-use Premium Theme for WordPress? Check out Themes by bavotasan.com and have your site up and running in no time.

Use this WordPress website builder to build powerful websites in no time for your or your clients.

WordPress Hosting

WP Engine – designed from the ground-up to support and enhance the workflow of web designers.

Bluehost – providing quality web hosting solutions since 1996.

About the author

Picture of Luke Perrie

Luke Perrie