Title: Headers already sent warning
Last modified: August 21, 2016

---

# Headers already sent warning

 *  Resolved [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * (@zazafromjohor)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/)
 * To my biggest surprise, I am no longer able to login to the wordpress admin section
   of my site:
    instead I got the classic: Warning: Cannot modify header information–
   headers already sent by (output started at /home/zazafrom/public_html/disco/wp-
   includes/pluggable.php:1) in /home/zazafrom/public_html/disco/wp-includes/pluggable.
   php on line 876 –
 * fix search completed to no avail…. there is no space at the begining of pluggable.
   php before <?php as suggested by [ FAQ.](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 * So just wondering what went wrong ( I have not touch that blog in any way for
   months) and how to fix it….

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/headers-already-sent-warning/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/headers-already-sent-warning/page/2/?output_format=md)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3856716)
 * >  fix search completed to no avail…. there is no space at the begining of pluggable.
   > php before <?php as suggested by FAQ.
 * The great frustation of that error message is that it doesn’t really say pluggable
   has a problem, it says something _else_ sent the headers already.
 * It could be your `wp-config.php` file, a theme issue, or one of your plugins.
 * Try these steps to see if it’s a plugin issue.
    1. Using [FTP](http://codex.wordpress.org/FTP_Clients) or whatever filemanagement
       tools your host has provided you with navigate to the `wp-content/` directory.
    2. Once there locate and rename (_do not delete!_) the `plugins` directory to `
       plugins-old`. Just that one directory and nothing else.
    3. Try and re-login to your WordPress dashboard.
    4. Visit `http://your-wordpress-URL-here/wp-admin/plugins.php` and you should see
       the “Plugins missing, deactivating them” message at the top.
 * If that does let you in then it may be one of your plugins. If that’s then after
   you are in use that file level access to rename the `plugins-old` directory back
   to `plugins`, revisit your plugins page and re-activate them one at a time till
   the error comes back.
 *  Thread Starter [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * (@zazafromjohor)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3856722)
 * I tried this above and I was still prompted by the same error….
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3856728)
 * Try re-uploading all files & folders – **except** the wp-content folder – from
   a **fresh** download of WordPress. Make sure that you delete the old copies of
   files & folder before uploading the new ones.
 *  Thread Starter [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * (@zazafromjohor)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3856740)
 * > Try re-uploading all files & folders – except the wp-content folder – from 
   > a fresh download of WordPress.
 * Extreme but good idea…. any one else???
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3856757)
 * It’s not extreme at all and is a good troubleshooting step.
 * If you’re really worried about it just make a full backup of you installation
   first.
 * [http://codex.wordpress.org/WordPress_Backups](http://codex.wordpress.org/WordPress_Backups)
   
   [http://codex.wordpress.org/Backing_Up_Your_Database](http://codex.wordpress.org/Backing_Up_Your_Database)
   [http://codex.wordpress.org/Restoring_Your_Database_From_Backup](http://codex.wordpress.org/Restoring_Your_Database_From_Backup)
 *  Thread Starter [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * (@zazafromjohor)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3856862)
 * Re upped wp-admin & wp-includes folder from fresh new download as suggested but
   the error still prompted –
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3856874)
 * Did you delete the old copies of files & folders before you uploaded the new 
   ones?
 *  Thread Starter [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * (@zazafromjohor)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3856915)
 * > Did you delete the old copies of files & folders before you uploaded the new
   > ones?
 * Yes I did… Still the same… Any other suggestion???
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [12 years, 10 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3856951)
 * You could try the following:
 * Rename your `wp-config.php` to wp-config-SAVE.php`. Then copy`wp-config-sample.
   php`to a new`wp-config.php`.
 * Once that’s done edit the new `wp-config.php` with the most plain jane text editor
   you have. I use vi but notepad or notepad++ will do.
 * Change the database information to suit your installation. Just that and nothing
   else. Then see if that does it for you.
 *  Thread Starter [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * (@zazafromjohor)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3857000)
 * Do I need to update this too????
 *     ```
       define('WP_ALLOW_MULTISITE', true);
       define( 'MULTISITE', true );
       define( 'SUBDOMAIN_INSTALL', false );
       $base = '/disco/';
       define( 'DOMAIN_CURRENT_SITE', 'norest4thecollectors.x10hosting.com' );
       define( 'PATH_CURRENT_SITE', '/disco/' );
       define( 'SITE_ID_CURRENT_SITE', 1 );
       define( 'BLOG_ID_CURRENT_SITE', 1 );
       ```
   
 *  Thread Starter [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * (@zazafromjohor)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3857009)
 * If I do as mentioned above…. I loose connection with the database….
    Revert to
   the original file and still get: **_Warning: Cannot modify header information–
   headers already sent by (output started at /home/zazafrom/public\_html/disco/
   wp-config.php:1) in /home/zazafrom/public\_html/disco/wp-includes/pluggable.php
   on line 876_**
 *  [ZeroGravity](https://wordpress.org/support/users/zerogravity/)
 * (@zerogravity)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3857010)
 * I was having this problem recently and solved it by saving the file as ANSI instead
   of UTF-8. Mine was one of the template files but you could try it with wp-config.
   php and see if it helps.
 * Not sure if you’re on a PC or Mac but for a PC.
    1. Open wp-config.php in notepad
    2. Select File->Save As…
    3. Make sure “Encoding” at the bottom right corner of the saved box is set to “
       ANSI”
    4. Click Save
    5. Upload to your site
 * For me the error then passed onto another file. I did the same thing for that
   file and the error went away.
 * Hope it helps. This problem can be so frustrating.
 *  Thread Starter [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * (@zazafromjohor)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3857012)
 * Cheers I ll give it a try in a couple of day!!
 *  Thread Starter [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * (@zazafromjohor)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3857015)
 * Same error:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/zazafrom/public_html/disco/wp-content/themes/discozzy/functions.
   > php:1) in /home/zazafrom/public_html/disco/wp-includes/pluggable.php on line
   > 876
 * Any other suggestions???
 *  [ZeroGravity](https://wordpress.org/support/users/zerogravity/)
 * (@zerogravity)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/#post-3857016)
 * It isn’t actually the same error. It looks the same but the error is now referencing
   FUNCTIONS.PHP not WP_CONFIG.PHP. Check to make sure there isn’t any blank space
   before the “<?php” in functions.php and if there isn’t try re-saving it as ANSI
   and see if that changes anything.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/headers-already-sent-warning/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/headers-already-sent-warning/page/2/?output_format=md)

The topic ‘Headers already sent warning’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 18 replies
 * 4 participants
 * Last reply from: [zazafromjohor](https://wordpress.org/support/users/zazafromjohor/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/headers-already-sent-warning/page/2/#post-3857022)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
