• Resolved cableghost

    (@cableghost)


    Okay, so I know there’s a ton of content and solutions out there, which I have spent a fair amount of time investigating. However, I have yet to find a solution.

    Though the following error is revealed, the action I was looking to take place executes fine and there is nothing ‘visually’ wrong with the site.

    Suggestions?

    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/xxxxxx/wp-content/themes/fiono/functions.php:366) in /home/xxxxxx/public_html/xxxxxx/wp-includes/pluggable.php on line 897

    Line 897: header("Location: $location", true, $status);

    I have checked and rechecked numerous php files and they do not seem to have any white space problems. If this is truly a header issue, I’m miffed, as this error just occurred without any modifications to the files identified, or any of the theme files.

    I also receive a similar error for line 99 of theme-editor.php

    Thanks, Scott

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi

    (@esmi)

    output started at /home/xxxxxx/public_html/xxxxxx/wp-content/themes/fiono/functions.php:366

    Try looking in the theme’s functions.php file.

    Thread Starter cableghost

    (@cableghost)

    I have opened it numerous times…what exactly should I be looking for?

    functions.php: http://pastebin.com/zWTY2XhB

    I did add the last php in that file, but removing it does not make a difference, so the issue is elsewhere.

    -Scott

    esmi

    (@esmi)

    Look at line 366

    Thread Starter cableghost

    (@cableghost)

    Pardon my ignorance…do I not need the <?php?

    esmi

    (@esmi)

    That depends if it’s preceded by a closing ?>

    Thread Starter cableghost

    (@cableghost)

    I decided to remove the php statement, and now I get the same error for line 99 of theme.editor.php

    http://pastebin.com/M32qRABX

    I see that line 99 has something to do with headers

    header("Location: $location");

    However, I am unable to diagnosis the actual issue.

    -Scott

    Thread Starter cableghost

    (@cableghost)

    Update: a browser restart and the issue appears to be gone. I will mark this thread resolved in a few days if there’s no relapse.

    Thanks @esmi for the input.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Warning: Cannot modify header information’ is closed to new replies.