Title: Cannot change save handler when headers already sent
Last modified: February 20, 2020

---

# Cannot change save handler when headers already sent

 *  Resolved [Uriel1339](https://wordpress.org/support/users/uriel1339/)
 * (@uriel1339)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-change-save-handler-when-headers-already-sent/)
 * Hello Yoast SEO Team & Fellow Users,
 * We are on a multi-container setup with Pantheon.io and we are using their PHP
   Native Sessions plugin as they recommend. However we get this error:
    [20-Feb-
   2020 14:17:42 UTC] PHP Warning: session_set_save_handler(): Cannot change save
   handler when headers already sent in /srv/bindings/8d918e0d30a24a8ebe5a9aaa627a1706/
   code/wp-content/plugins/wp-native-php-sessions/pantheon-sessions.php on line 
   163
 * The reason I’m writing here is because after looking through plugin and theme
   code on our website, Yoast SEO utilizes a Session handler in the following directory:
   
   wp-content\plugins\wordpress-seo-premium\vendor_prefixed\guzzlehttp\guzzle\src\
   Cookie\SetCookie.php
 * I believe that this might cause issues with the session setting and I wanted 
   to have your input on this and if it indeed is a PHP Session manager.
 * Sincerely,
 * Andreas
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-change-save-handler-when-headers-already-sent%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [Uriel1339](https://wordpress.org/support/users/uriel1339/)
 * (@uriel1339)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-change-save-handler-when-headers-already-sent/#post-12460786)
 * Deactivating Yoast did not help, so I don’t believe this is an issue.

Viewing 1 replies (of 1 total)

The topic ‘Cannot change save handler when headers already sent’ is closed to new
replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [pantheon](https://wordpress.org/support/topic-tag/pantheon/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)
 * [setcookie](https://wordpress.org/support/topic-tag/setcookie/)

 * 1 reply
 * 1 participant
 * Last reply from: [Uriel1339](https://wordpress.org/support/users/uriel1339/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-change-save-handler-when-headers-already-sent/#post-12460786)
 * Status: resolved