• I installed 1.2 Mingus last night, and while my blog looks fine and takes new posts, I get a lot of these “Cannot Modify Header Information” errors. The latest, when I submit a new post, reads:
    Warning: Cannot modify header information - headers already sent by (output started at /home/phildenn/public_html/wp-content/plugins/updatelinkroll.php:25) in /home/phildenn/public_html/wp-admin/post.php on line 146
    For what it’s worth, lines 143 – 146 of post.php are:
    if ( '' != $_POST['advanced'] || isset($_POST['save']) )
    $location = "post.php?action=edit&post=$post_ID";
    header("Location: $location"); // Send user on their way while we keep working

    I don’t see any of the blank lines before or after <?php or ?> that are supposed to be part of the problem. Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Check this file – updatelinkroll.php – for any extra whitespace.
    It’s extra whitespace outside of the <?php or ?> which causes this error message.

    Thread Starter phildennison

    (@phildennison)

    Bingo! Thanks for the assist. I was looking through all the other php files for whitespace, rather than the updatelinkroll.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Cannot Modify Header Information” when posting’ is closed to new replies.