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 163The 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.phpI 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 to see the link]
- The topic ‘Cannot change save handler when headers already sent’ is closed to new replies.