my musings on technology

Bluehost and WordPress PHP Errors

Posted by on Aug 26, 2011 in Musings | 10 comments

Bluehost and WordPress PHP Errors

I’m posting this because I’m sure I’m not the only person that could be affected by this right now.  I host this blog (and a number of other blogs) with Bluehost and absolutely love the value for money I get from them.  For some reason, out of the blue when I went to post a new blog post today I got an error when attempting to get to my wp-admin directory.

The error looked like this:

Warning: Cannot modify header information – headers already sent by (output started at /home8/xxx/public_html/ciosteve/wp-settings.php:340) in /home8/xxx/public_html/ciosteve/wp-includes/pluggable.php on line 934

While the main site worked, I couldn’t get to my RSS feed or the WordPress Admin interface.  In fact, when I tried this on all the other blog sites I run on Bluehost I got the same error!  Perplexed, I thought it was time to get my technical brain working and resolve this issue!

I downloaded the wp-settings.php file and there were about 12 empty lines at the end of the file.  I simply deleted those empty lines, reuploaded the wp-settings.php file and was back in business.

I had to do this on all my WordPress sites, but they are all functioning again now. Hope this helps someone else!

Similar Posts:

Get Adobe Flash player