WordPress.org

Ready to get started?Download WordPress

Forums

WP Smush.it
[resolved] headers already sent (10 posts)

  1. sashaman
    Member
    Posted 1 year ago #

    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/

  2. sashaman
    Member
    Posted 1 year ago #

    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

  3. sashaman
    Member
    Posted 1 year ago #

    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

  4. Hello there @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...

  5. sashaman
    Member
    Posted 1 year ago #

    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

  6. 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.

  7. sashaman
    Member
    Posted 1 year ago #

    wp-smushit.php was UTF-8
    JSON.php was ANSI -> saved UTF-8 encoded

    :( doesnt work either

  8. sashaman
    Member
    Posted 1 year ago #

    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

  9. Is this on a localhost? Could you please provide some more info about the server you're using?

  10. WPMUDEV
    WPMU DEV Support Staff
    Plugin Author

    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.