WordPress.org

Support

Support » How-To and Troubleshooting » Header error wp-includes/pluggable.php on line 876

Header error wp-includes/pluggable.php on line 876

  • I have come across a few posts that address a similar problem. But, none of the solutions seem to work for me. Here is the exact error.

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/38/7834438/html/wp-content/themes/gridthemeresponsive/functions.php:1) in /home/content/38/7834438/html/wp-includes/pluggable.php on line 876

    I have deleted all plug-ins. I also can’t seem to find a pluggable.php in my FTP. I’m sure someone knows whats going on…Cause I don’t…

Viewing 15 replies - 1 through 15 (of 19 total)
  • I have just got a very similar problem too. I was just updating my plugins and wordpress and found the following issue: Warning: Cannot modify header information – headers already sent by (output started at /hermes/waloraweb076/b170/moo.cypressridgecottages/highstreetmotorinn.com.au/wp-admin/includes/template.php:1642) in /hermes/waloraweb076/b170/moo.cypressridgecottages/highstreetmotorinn.com.au/wp-includes/pluggable.php on line 876

    Fixed it. I replaced the functions.php file of my theme with the original file that I downloaded again.

    Hi, Sirquentin! Do you know which portion of your functions.php file was causing the error? I’m getting the same error, and I’m about to start poking around in my functions.php file to see what’s causing the problem.

    Edited to add: Whoops, my error was the same, but with a totally separate cause (attachment extender plugin). I disabled the plugin, since it’s pretty unnecessary now anyway. Please disregard! 🙂

    Hi, i found a simple solution that worked for me. Simply take the wp-config.php file, open it in a text editor and click save as. It will try to save as UTF-8 file, save it as ANSI. As i said this worked for me…

    this is also happening to me and I just started my website. I really need help on this.

    Didn’t you try to do what i said? ake the wp-config.php file, open it in a text editor and click save as. It will try to save as UTF-8 file, save it as ANSI. This worked for me…

    there are two types of ANSI_x3.110-1983 and ANSI_3.4-1968..which should I choose? this is teh first time I ahve to do this and if you can help me with a step-by-step process then it would be great. I also tried to use the text editor but when I click save changes it just gives me the message that I made no changes. By the way I’m doing this in my hostgator cpanel.

    First of all, download the file to your desktop. Then open it with a text editor, save as ANSI and upload it overwritig the file that is on the server. What operating system are you using?

    I have read that the the ANSI equivalent might be Western (Windows Latin 1) or Western (DOS Latin 1)

    Changing the UTF to ANSI doesn’t fix this problem. There’s a plugin problem somewhere, but there’s not enough information to discern what plugin is giving you the heartache here.

    Fixed!!!I had this Line 876 Warning also, You should Go to WordPress Index.php file and make sure nothing is above the Opening php tag, For some reason I had <title></title> on top of <?php like below
    ———————
    <title></title>
    <?php

    Instead of
    ———————
    <?php

    The opening php tag should be at the top of the page, I’m not sure how the Title Tag got added unless it happened using Dreamweaver or a Plugin!

    [Signature moderated]

    Had the same problem too. Like oklamax said, I believe it has to do with spaces either before the <?php or after te ?>.

    I had to put a closing ?> at the end of my functions.php and made sure there weren’t any spaces or line breaks.

    Same here as well. This problem arose for me when I had a functions.php with no closing PHP tag and WordPress installed in a subdirectory.

    I also got this error, but I solved this.

    it’s because something is outputed before wp-includes/pluggable.php on line 876, so, you may changed the file in some place, when error shows up, it would tell you which file output something, you can check that file with following :

    1. is there anything before <?php, notice, if you save as UTF-8 be careful with the BOM mark, this may be the reason. so you can try save it as UTF-8 without BOM mark. XXX: do not use notepad, cause it would add that BOM mark. you can use notepad++.

    2. is there anything after ?>, maybe you can delete ?> directly.

    esmi

    @esmi

    Forum Moderator

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Header error wp-includes/pluggable.php on line 876’ is closed to new replies.
Skip to toolbar