WordPress.org

Ready to get started?Download WordPress

Forums

MySQL error: cannot modify header information (2 posts)

  1. amberlrhea
    Member
    Posted 5 years ago #

    I'm running WordPress 2.7.1 and have been for several weeks. I haven't made any changes to my installation since then, but as of this morning, when I go to my admin screen (dashboard), I get two MySQL errors at the top:

    Warning: Cannot modify header information - headers already sent by (output started at /home/.oedipuss/arhea/beingamberrhea.com/wp-load.php:51) in /home/.oedipuss/arhea/beingamberrhea.com/wp-includes/functions.php on line 698

    Warning: Cannot modify header information - headers already sent by (output started at /home/.oedipuss/arhea/beingamberrhea.com/wp-load.php:51) in /home/.oedipuss/arhea/beingamberrhea.com/wp-includes/functions.php on line 699

    These errors do not prevent the rest of the page from loading.

    I am able to go to the "Add New Post" screen, but if I click "Save Draft," I get the following error on /wp-admin/post.php, and the page does not load after that:

    Warning: Cannot modify header information - headers already sent by (output started at /home/.oedipuss/arhea/beingamberrhea.com/wp-load.php:51) in /home/.oedipuss/arhea/beingamberrhea.com/wp-includes/pluggable.php on line 850

    Note the post draft *is* saved (I verified by returning to the dashboard).

    Also, when I try to go to a tag page (e.g., http://www.beingamberrhea.com/tag/twitter) the page does *not* load, and all I get is the following error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/.oedipuss/arhea/beingamberrhea.com/wp-load.php:51) in /home/.oedipuss/arhea/beingamberrhea.com/wp-includes/pluggable.php on line 850

    Can anyone shed some light on this? I'm at a total loss as to what would cause it, since nothing in my installation has changed.

  2. stvwlf
    Member
    Posted 5 years ago #

    Hi

    Those are PHP errors, not MySQL errors.

    Check your functions.php file in your theme folder. The php section starts with this at the top <?php and ends with this ?> at the bottom. Make sure there is no white space (no spaces, blank line - nothing at all) before the opening php tag and after the closing php tag

    Remove any if there and save the file. See if that cleans up at least the first two errors.

Topic Closed

This topic has been closed to new replies.

About this Topic