Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #784060


    I’m using ENFOLD 4.0 and the Usernoise plugin from Codecanyon.

    Since activating the plugin I get this warning at the frontend of my site:

    Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w0148733/ in /www/htdocs/w0148733/ on line 30

    Line 16 in ENFOLD’s header.php is:

    <html <?php language_attributes(); ?> class="<?php echo "html_{$style} ".$responsive." ".$preloader." ".$av_lightbox." ".$filterable_classes ?> ">

    The plugin author said to this warning:

    This warning is caused by output started by some other code/plugin before the moment Usernoise tries to send cookie. You can read more here:

    This means the first part of this warning is the culprit and not the plugin, means the header.php of ENFOLD.

    I found this in the forum from Yigit with a similar problem, and added the suggested snippet


    to ENFOLD’s functions.php, but this does not helped.

    Any ideas please?
    Thank you.


    For me Enfold is doing nothing wrong as they produce legacy output in the <html> element which is the beginning of the document. Much more interesting would be line 30 of the usernoice plugin as it seems they are to late with what ever the are doing.


    but if you look at, then the first part of the warning is the culprit – and this is ENFOLD.

    No way to use both together?


    Yes of course the first part is the root cause. But that does not mean it is wrong. ‘I am late because the parking slot was occupied by another one … dude the car parking there is the owner of that parking slot’ ;-) Enfold is starting the output in <html> and that is correct (you can read the w3c definitions of html if you like). Your plugin is simply to late with what ever it tries. That’s why I said it would be interesting to see that code. A developer could easily debug this and tell the trues. Nothing that is possible in a forum.


    Hi Chris,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look.

    Thank you @mensmaximus.
    Best regards,


    Thanks, the plugin author provided me a fix yesterday, which works now fine with ENFOLD.
    If anybody else is using USERNOISE plugin, update it to the latest version from yesterday and it will work fine with ENFOLD.



    Thank you for also contacting the author plugin
    That is really helpful so things can be finished.


Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Warning: Cannot modify header information – headers already sent’ is closed to new replies.