• I tried to edit my “About” page and after adding one thing in my visual editor, I received:

    Warning: Cannot modify header information – headers already sent by (output started at /home/livren/public_html/sidewalkcouture.com/wp-content/themes/autofocus/functions.php:746) in /home/livren/public_html/sidewalkcouture.com/wp-includes/pluggable.php on line 934

    And when I checked the pluggable.php file, I couldn’t find anything on line 934 that could be causing the problem, and I didn’t see any spaces before of after the php tags.

    Please help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter livren

    (@livren)

    Line 934 says:

    header(“Location: $location”, true, $status);

    And after I delete the line, my website disappers

    You have an issue on line 746 of your theme’s function.php file.
    Solving “headers already sent” warnings

    And after I delete the line, my website disappers

    Put that line back. Never, ever, edit core code.

    Thread Starter livren

    (@livren)

    On line 746 of the theme’s functions.php, it says <script type=”text/javascript”>

    I don’t see how this could be causing a header problem…

    The line numbering may not be precise. Look around line 746. Did you review the link I gave above?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning:Cannot modify header information – headers already sent’ is closed to new replies.