Title: headers already sent
Last modified: August 21, 2016

---

# headers already sent

 *  Resolved [sashaman](https://wordpress.org/support/users/sashaman/)
 * (@sashaman)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-15/)
 * produces “headers already sent” errors with various other plugins (for example
   Two Factor Auth),
    i just recognized those in admin area
 * good luck
 * [http://wordpress.org/extend/plugins/wp-smushit/](http://wordpress.org/extend/plugins/wp-smushit/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [sashaman](https://wordpress.org/support/users/sashaman/)
 * (@sashaman)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821677)
 * i have to correct:
    all plugins disabled, tried twentyten and twentyeleven:
 * The plugin generated 3 characters of unexpected output during activation. If 
   you notice “headers already sent” messages, problems with syndication feeds or
   other issues, try deactivating or removing this plugin.
 * seems it definitly IS this plugin
 * kindest regards
 *  Thread Starter [sashaman](https://wordpress.org/support/users/sashaman/)
 * (@sashaman)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821687)
 * bulk smush is working regardless of errors.
 * smush it now produces:
 * Warning: Cannot modify header information – headers already sent by (output started
   at wp-content\plugins\wp-smushit\wp-smushit.php:1) in \wp-includes\pluggable.
   php on line 876
 * no plugins
    Twenty Twelve
 *  [Ari Stathopoulos](https://wordpress.org/support/users/aristath/)
 * (@aristath)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821722)
 * Hello there [@sashaman](https://wordpress.org/support/users/sashaman/), could
   you please try deleting the closing PHP tag `?>` that exists on the last line
   of the json.php file and let me know if that fixes the issue you’re having?
 * Please let me know if that helps so that we can fix it…
 *  Thread Starter [sashaman](https://wordpress.org/support/users/sashaman/)
 * (@sashaman)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821730)
 * too bad, it didn’t help
 * Warning: Cannot modify header information – headers already sent by (output started
   at wp-content\plugins\wp-smushit\wp-smushit.php:1) in wp-includes\pluggable.php
   on line 876
 *  [Ari Stathopoulos](https://wordpress.org/support/users/aristath/)
 * (@aristath)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821732)
 * hmmmm….
    Could you please check i there are any spaces before the opening <?php
   tag in the beginning of the wp-smushit.php file? Closing PHP tags should be omitted
   everywhere in your installation, perhaps it’s somewhere else? Could you please
   check your wp-config.php file too? If there are a spaces, a blank line or anything
   else before the opening `<?php` tag in the beginning of the file delete them (
   of course without deleting the opening <?php tag). If there is a closing ?> tag
   at the end of it the delete it as well.
 * The same applies to all php files in your instalation, particulartly TwentyTwelve’s
   functions.php file in case you’ve added something there.
 *  Thread Starter [sashaman](https://wordpress.org/support/users/sashaman/)
 * (@sashaman)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821737)
 * wp-smushit.php was UTF-8
    JSON.php was ANSI -> saved UTF-8 encoded
 * 🙁 doesnt work either
 *  Thread Starter [sashaman](https://wordpress.org/support/users/sashaman/)
 * (@sashaman)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821742)
 * ok thats weird,
    i redownloaded, unzipped again, same error then i installed 
   it via admin area and now no complaints about headers …
 * now it keeps saying Bad response from Smush.it 🙁
    and bulking it says already
   smushed but honestly, i doubt
 * sorry for headaches,
    kindest regards
 *  [Ari Stathopoulos](https://wordpress.org/support/users/aristath/)
 * (@aristath)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821820)
 * Is this on a localhost? Could you please provide some more info about the server
   you’re using?
 *  Plugin Author [WPMU DEV – Your All-in-One WordPress Platform](https://wordpress.org/support/users/wpmudev/)
 * (@wpmudev)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821879)
 * Hey there.
 * We haven’t heard from you in awhile, so I just wanted to check in to make sure
   all was good.
 * This thread was marked resolved, but please, if you still need help then just
   respond and open it back up. We can then take it from there. 🙂
 * Hope you have a fantastic day!

Viewing 9 replies - 1 through 9 (of 9 total)

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

 * ![](https://ps.w.org/wp-smushit/assets/icon-256x256.gif?rev=3447113)
 * [Smush – Image Optimization, Compression, Lazy Load, WebP & CDN](https://wordpress.org/plugins/wp-smushit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-smushit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-smushit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-smushit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-smushit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-smushit/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [WPMU DEV – Your All-in-One WordPress Platform](https://wordpress.org/support/users/wpmudev/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/headers-already-sent-15/#post-3821879)
 * Status: resolved