Title: PHP Warning: Cannot modify header information
Last modified: October 29, 2018

---

# PHP Warning: Cannot modify header information

 *  Resolved [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-warning-cannot-modify-header-information-10/)
 * PHP Warning: Cannot modify header information
 * In function set_cookie()
 * wp-content/plugins/stripe/includes/core/libraries/wp-session/class-wp-session.
   php on line 146
 * Happens on every page request, even if the shortcode isn’t used.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Phil Derksen](https://wordpress.org/support/users/pderksen/)
 * (@pderksen)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-warning-cannot-modify-header-information-10/#post-10839494)
 * [@wayneallen-1](https://wordpress.org/support/users/wayneallen-1/) Please take
   a look at [https://docs.wpsimplepay.com/articles/caching-session-issues/](https://docs.wpsimplepay.com/articles/caching-session-issues/)
   and [https://docs.wpsimplepay.com/articles/testing-theme-plugin-conflicts/](https://docs.wpsimplepay.com/articles/testing-theme-plugin-conflicts/)
   if you haven’t already. Hopefully those help.
 * Phil
 *  Thread Starter [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-warning-cannot-modify-header-information-10/#post-10839719)
 * Thanks, I will do this. However, why is your plugin rendering content if the 
   shortcode isn’t on the page?
 * FYI the culprit was [https://wordpress.org/plugins/simple-custom-css/](https://wordpress.org/plugins/simple-custom-css/)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warning: Cannot modify header information’ is closed to new replies.

 * ![](https://ps.w.org/stripe/assets/icon-256x256.png?rev=2784844)
 * [Stripe Payment Forms by WP Simple Pay - Accept Credit Card Payments + Subscriptions with Stripe](https://wordpress.org/plugins/stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stripe/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/php-warning-cannot-modify-header-information-10/#post-10839719)
 * Status: resolved