WordPress.org

Support

Support » Themes and Templates » That darn message again – Warning: Cannot modify header information

That darn message again – Warning: Cannot modify header information

  • Hi
    I have been in this forum for 3 hours reading up on the solutions. I have removed the “spaces” on my pluggable-php file as suggested, still no joy!!

    I do not know php and used to program years ago.

    I cant seem to find the config file that you folks keep talking about.

    Also I went to each of the lines mentioned below but I do not know where to look for the “spaces” to remove.

    I have deactivated all my plug ins, does this still allow my site to be public?

    Please help, this is very frustrating as I have noted with the other posts

    Michael

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-login.php on line 287

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-login.php on line 299

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 689

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 690

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 691

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 692

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 693

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 694

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 697

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 698

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 699

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 700

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 703

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 704

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 705

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 706

    Warning: Cannot modify header information – headers already sent by (output started at /home2/quiltlov/public_html/wp-content/themes/ClubBlue/functions.php:9) in /home2/quiltlov/public_html/wp-includes/pluggable.php on line 865

Viewing 15 replies - 1 through 15 (of 16 total)
  • /ClubBlue/functions.php

    look at your theme’s functions.php file
    clear the empty space or line break at beginning of file or end of file (or both)

    I had the same problem as soon as I updated to the latest version and I did what Samboll just told you and it work. I thought I was the only one having that problem.

    Thank you folks.

    wanted to mention 2 things…

    1 – when I changed from one template to another the problem went away, which means these errors only happen on certain templates so I should let the designer know this.

    2 – went into functions.php of the problem template and there was no ?> at the end, so I held the delete button to get rid of any spaces that may exist then put in the ?>

    IT WORKED!!

    Thanks to all

    Michael

    Yeah, sometimes those spaces are not visible and are very easy to miss.

    Hi folk,

    I had been facing the same problem and so I tried ob_start(); in index.php file at line no 1.

    And it fixed the problem.

    Enjoys!!!!!!

    Reragds,
    Web-Farmer
    http://www.google.com/profiles/sachinpethani
    http://www.letsnurture.com

    I just wanted to add, I had the same problem when I did an upgrade, so I did what Samboll suggested above, but the theme file was fine. After I narrowed it down to one guilty plugin, I checked the main php file fore it and sure enough, there was an extra line break in it. I removed it and voila! So if a particular plugin is causing this error, try that. 🙂

    look at your theme’s functions.php file
    clear the empty space or line break at beginning of file or end of file (or both)

    it’s work, thank you samboll

    same problem here. solved it after removing trailing spaces at end of wp-includes/query.php

    it is what is before <? or after ?> tags that cause this.

    Almost same problem.

    Only appears with new users. Users who’d already registered don’t get the warning lines. (Two in this case.)

    Warning: Cannot modify header information – headers already sent by (output started at /home/name/public_html/wp-admin/includes/dashboard.php:1789) in /home/name/public_html/wp-includes/functions.php on line 784

    Every line of code in wp-admin/includes/dashboard.php is followed by a blank line.

    Should every blank line be deleted?

    Thought I’d ask for another opinion before we just go ahead and do this.

    spotlightingadmin

    @spotlightingadmin

    Every line of code in wp-admin/includes/dashboard.php is followed by a blank line.

    Should every blank line be deleted?

    P.S. Correction: appears with old and new users, but goes away after you open any other WP admin page after logging in.

    Here’s what appears;

    Warning: Cannot modify header information – headers already sent by (output started at /home/name/public_html/wp-admin/includes/dashboard.php:1789) in /home/name/public_html/wp-includes/functions.php on line 784

    Hi Everyone,

    Though none of the above & other solutions in the forums solved my issues.

    Out of frustration I copied all the code then pasted into sticky notes (linux)(Notepad Windows). I then re-copied the same code and pasted it back … SOLVED MY PROBLEMS !!

    Ignore my previous post,

    the same issue appeared again, I then pasted ob_start(); at the TOP of my functions.php file (Was the file generating the error messages)

    Just had the same issue after I added a new function to functions.php in my theme folder. So searched and tryed to get rid of all the invisible spaces. Didn’t work, so i searched further and everyone was keep telling me, remove te spaces. And again i removed them all… I thought, cause the third time, I cutted all the code out of the functions.php except for the function which the errorwarning came up with. And there, yes, a freaky ultra hidden space. 🙂

    And just like you laudes, the issue appeared again…

    I have found in wordpress.org and also 100 blogs and forums(may be). Every where are talking about white spaces. But, I have checked whole files. like
    wp-settings.php
    wp-admin.php
    wp-login.php
    query.php
    functions.php etc etc.. But I didnt solved this problem.

    It’s giving me the problem yet. I cant login to wp-admin. Help me about it.

    I almost have finished my blog in localhost. Suddenly, I have faced this problem. I am totally frustrated.

    Please help me.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘That darn message again – Warning: Cannot modify header information’ is closed to new replies.
Skip to toolbar