Forums

wp-login.php error (Cannot modify header information - headers already sent_ (3 posts)

  1. rjtreb
    Member
    Posted 8 months ago #

    I changed my theme at my blog, after that i logged out and then logged in again. after typing my username and password then hit the enter key. I cant get inside my dashboard and an error message popped in.

    here is error message that i received:

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-content/themes/ClubYellow/functions.php:5) in /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-login.php on line 267

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-content/themes/ClubYellow/functions.php:5) in /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-login.php on line 279

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-content/themes/ClubYellow/functions.php:5) in /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-includes/pluggable.php on line 595

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-content/themes/ClubYellow/functions.php:5) in /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-includes/pluggable.php on line 596

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-content/themes/ClubYellow/functions.php:5) in /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-includes/pluggable.php on line 597

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-content/themes/ClubYellow/functions.php:5) in /home/content/s/t/a/stationbp/html/edgeephotography.com/pod/wp-includes/pluggable.php on line 770

    please help me.

  2. Shane G
    Member
    Posted 8 months ago #

    Hi,

    This error has arised due to most common thing is that white space before and after of header function in header.php file..however here are some guidelines to resolve this case:

    1) Find the header() statement that is causing the problem. The error must be at or before this line.

    2) Look for any statements that could send output to the user before this header statement. If you find one or more, find some way to move the header statement before them. Complex conditional statements may complicate the issue, but they may also help solve the problem. Consider a conditional expression at the top of the PHP script that determines the header value as early as possible and sets it there.

    3) Make sure there is no white space outside of the php start and end tags. While a blank line before the <?php start tag may look innocent, when processed by PHP, it will turn into an echo statement printing out a blank line.

    Thanks,

    Shane G.

  3. orchidkarma
    Member
    Posted 7 months ago #

    I have the same problem (but only 2 errors). I read Shane's advice but are none the wiser...How can I find the errors?? In what document and what do I do. I am not familiar with php.

    Thank you!!
    Karma

    http://www.orchidkarma.com/wp-login.php

    Warning: Cannot modify header information - headers already sent by (output started at /home/orchid7/public_html/wp-content/plugins/post-template/includes/post-templates-shortcodes-class.php:93) in /home/orchid7/public_html/wp-login.php on line 255

    Warning: Cannot modify header information - headers already sent by (output started at /home/orchid7/public_html/wp-content/plugins/post-template/includes/post-templates-shortcodes-class.php:93) in /home/orchid7/public_html/wp-login.php on line 267

Reply

You must log in to post.

About this Topic