Title: Cannot modify header information
Last modified: January 12, 2020

---

# Cannot modify header information

 *  Resolved [web88](https://wordpress.org/support/users/web88/)
 * (@web88)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-156/)
 * 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)

 *  [archanabarik67](https://wordpress.org/support/users/archanabarik67/)
 * (@archanabarik67)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-156/#post-12318314)
 * Hello, can you please share your website URL? And you can join us in our live
   chat at [http://www.magnigenie.com](http://www.magnigenie.com)
 *  [matiwbiegu](https://wordpress.org/support/users/matiwbiegu/)
 * (@matiwbiegu)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-156/#post-12382281)
 * 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
 *  [archanabarik67](https://wordpress.org/support/users/archanabarik67/)
 * (@archanabarik67)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-156/#post-12391920)
 * Hello Web88,
    You can rename the “sg-cachepress” from file manager. And check
   for the resolution and confirm again.
 * Thank you
 *  [debra15](https://wordpress.org/support/users/debra15/)
 * (@debra15)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-156/#post-12574160)
 * 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.
 *  [arturdlugosz](https://wordpress.org/support/users/arturdlugosz/)
 * (@arturdlugosz)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-156/#post-13112129)
 * 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.

 * ![](https://ps.w.org/sticky-add-to-cart-for-woocommerce/assets/icon-256x256.jpg?
   rev=3117493)
 * [Sticky Add to Cart for WooCommerce](https://wordpress.org/plugins/sticky-add-to-cart-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sticky-add-to-cart-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sticky-add-to-cart-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/sticky-add-to-cart-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sticky-add-to-cart-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sticky-add-to-cart-for-woocommerce/reviews/)

## Tags

 * [Cannot modify header information](https://wordpress.org/support/topic-tag/cannot-modify-header-information/)

 * 5 replies
 * 5 participants
 * Last reply from: [arturdlugosz](https://wordpress.org/support/users/arturdlugosz/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-156/#post-13112129)
 * Status: resolved