my musings on technology

Bluehost and WordPress PHP Errors

Posted by on Aug 26, 2011 in Musings | 6 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:

6 Comments

Join the conversation and post a comment.

  1. shankar

    This Thing Really saved my day, thank u

  2. Jacob K

    Its apart of the timtumb.php hack. please look into it.

  3. siva

    Hi,

    I have a similar error. I narrated in the wordpress forum. No one seems to be cared about this! Please help me on this.

    http://wordpress.org/support/topic/wp-fb-autoconnect-plugin-throws-error?replies=3#post-2305668

    Regards,
    Siva.

    • Steve Berg

      Siva – see the comment above. It’s part of the TimThumb hack. If you can’t restore from backup, delete your current Theme directory and reupload the updated theme that doesn’t use TimThumb.

Leave a Comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes