• Resolved web88

    (@web88)


    Hi,
    I’m getting this error on website, and I can not enter my dashboard anymore..

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/site/public_html/wp-content/plugins/sticky-add-to-cart-for-woocommerce/inc/options-framework.php:1) in /home/customer/www/site/public_html/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher_Helper.php on line 77

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello, can you please share your website URL? And you can join us in our live chat at https://www.magnigenie.com

    Hi!

    I have similar issue on my site:

    Cannot start session when headers already sent in /home/klient.dhosting.pl/msalamon/totesea.pl/public_html/wp-content/plugins/woocommerce-dotpay/woocommerce-dotpay.php on line 161

    Warning: session_start(): Cannot start session when headers already sent in /home/klient.dhosting.pl/msalamon/totesea.pl/public_html/wp-content/plugins/woocommerce-dotpay/woocommerce-dotpay.php on line 179

    Warning: Cannot modify header information – headers already sent by (output started at /home/klient.dhosting.pl/msalamon/totesea.pl/public_html/wp-content/plugins/sticky-add-to-cart-for-woocommerce/inc/options-framework.php:1) in /home/klient.dhosting.pl/msalamon/totesea.pl/public_html/wp-includes/functions.php on line 6029

    Warning: session_start(): Cannot start session when headers already sent in /home/klient.dhosting.pl/msalamon/totesea.pl/public_html/wp-content/plugins/flexible-shipping/classes/class-flexible-shipping-plugin.php on line 350

    Warning: Cannot modify header information – headers already sent by (output started at /home/klient.dhosting.pl/msalamon/totesea.pl/public_html/wp-content/plugins/sticky-add-to-cart-for-woocommerce/inc/options-framework.php:1) in /home/klient.dhosting.pl/msalamon/totesea.pl/public_html/wp-admin/includes/misc.php on line 1252

    Warning: Cannot modify header information – headers already sent by (output started at /home/klient.dhosting.pl/msalamon/totesea.pl/public_html/wp-content/plugins/sticky-add-to-cart-for-woocommerce/inc/options-framework.php:1) in /home/klient.dhosting.pl/msalamon/totesea.pl/public_html/wp-admin/admin-header.php on line 9

    Hello Web88,
    You can rename the “sg-cachepress” from file manager. And check for the resolution and confirm again.

    Thank you

    There should be no spaces before the <?php tag in inc/ options-framework.php.
    After removing the space, there is no error and also no issue on the health check.

    I found, after many evenings…
    Warning: Cannot modify header information – headers already sent by (output started at /home/klient.dhosting.pl/(…)XX.php:13) in /home/klient.dhosting.pl/(…)XX.php on line 14

    in 13th line i had “echo”, in 14th line “setcookie”. It doesn’t working.

    You have to write all COOKIE code before else PHP code.
    or
    turn on the “output buffering”. Write ob_start(); on the start, after open “<?php”, but i don’t now is that a good idea.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cannot modify header information’ is closed to new replies.