• Resolved vercinstex

    (@vercinstex)


    Hello
    I’ve moved the plugin from one server to another, but i think means almost nothing. Anyway now to the new server I have the following error/warning with this plugin:

    Warning: Cannot modify header information – headers already sent by (output started at …./wp-content/plugins/wp-add-custom-css/wordpress-add-custom-css.php:656) in …/wp-admin/includes/misc.php on line 1116

    and this second error:
    Headers already sent in /…./wp-content/plugins/wp-add-custom-css/wordpress-add-custom-css.php on line 656.
    This is not a good sign, it may just be a poorly written plugin but Headers should not have been sent at this point.
    Check the code in the above mentioned file to fix this problem.

    Consider also my website is just empty for the moment. I have no post, no article, nothing…

    Hlw can it be fixed?? Please let me know
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Daniele De Santis

    (@danieledesantis)

    Hi,
    maybe it has to do with your new server.

    Since wordpress-add-custom-css.php doesn’t have 656 lines and this error has never been reported, I believe the error is elsewhere.
    Could you please provide the following information:
    which php version is running on your server?
    which wp theme are you using?
    Can you deactivate all plugins, except wp add custom css, and check again?

    Best,
    Daniele

    Thread Starter vercinstex

    (@vercinstex)

    Hi
    The errors are available only in admin panel not in front end.

    PHP version is 7.1.5
    Server Apache (don’t which version since it is hidden)

    Template name is: natura bliss (surely not final template)

    Thread Starter vercinstex

    (@vercinstex)

    omg, the errors where due to closing tag of php in wordpress-add-custom-css.php

    ?>

    Removing closing tag, it fixed the errors.

    • This reply was modified 6 years ago by vercinstex.
    Plugin Author Daniele De Santis

    (@danieledesantis)

    I’ve found the problem, will be solved in the next release.
    Thanks for your help,
    Daniele

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Header error already sent’ is closed to new replies.