Title: New PHP warnings
Last modified: February 25, 2019

---

# New PHP warnings

 *  Resolved [jgriffin783](https://wordpress.org/support/users/jgriffin783/)
 * (@jgriffin783)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/new-php-warnings/)
 * Hi,
 * After updating to wordpress 5.1, php warnings began to log for this plugin on
   our site. Here are the warnings:
 * PHP Warning: ini_set(): Headers already sent. You cannot change the session module’s
   ini settings at this time in /wp-content/plugins/wp-native-php-sessions/pantheon-
   sessions.php on line 131
    PHP Warning: session_set_save_handler(): Cannot change
   save handler when headers already sent in /wp-content/plugins/wp-native-php-sessions/
   pantheon-sessions.php on line 141
 * I spoke with pantheon support and they said that this error is usually due to
   php version incompatibility (we’re on 7.2), but in our instance it only occurred
   after updating wordpress to 5.1 and was working prior. They recommended reaching
   out here to see about whether or not this was a known issue with a fix coming,
   or if it was something isolated to our environment somehow. Any help here would
   be appreciated.
 * Thanks!

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

 *  [c3controls](https://wordpress.org/support/users/c3controls/)
 * (@c3controls)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/new-php-warnings/#post-11277831)
 * Bump. Experiencing exactly the same.
    -  This reply was modified 7 years, 3 months ago by [c3controls](https://wordpress.org/support/users/c3controls/).
 *  [USGoldNews](https://wordpress.org/support/users/usgoldnews/)
 * (@usgoldnews)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/new-php-warnings/#post-11354119)
 * I am experiencing the same issue. I posted this here also: [https://discuss.pantheon.io/t/wordpress-native-php-sessions-plugin-new-warnings/163](https://discuss.pantheon.io/t/wordpress-native-php-sessions-plugin-new-warnings/163)
    -  This reply was modified 7 years, 2 months ago by [USGoldNews](https://wordpress.org/support/users/usgoldnews/).
    -  This reply was modified 7 years, 2 months ago by [USGoldNews](https://wordpress.org/support/users/usgoldnews/).
 *  Plugin Contributor [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/new-php-warnings/#post-11388877)
 * [@usgoldnews](https://wordpress.org/support/users/usgoldnews/) Was your warning
   resolved by [Dan’s comment](https://discuss.pantheon.io/t/wordpress-native-php-sessions-plugin-new-warnings/163/2)?

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

The topic ‘New PHP warnings’ is closed to new replies.

 * ![](https://ps.w.org/wp-native-php-sessions/assets/icon-256x256.png?rev=3411177)
 * [Native PHP Sessions](https://wordpress.org/plugins/wp-native-php-sessions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-native-php-sessions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-native-php-sessions/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-native-php-sessions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-native-php-sessions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-native-php-sessions/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/new-php-warnings/#post-11388877)
 * Status: resolved