Title: Code is getting a PHP error on a regular basis
Last modified: February 27, 2026

---

# Code is getting a PHP error on a regular basis

 *  Resolved [jaybunten](https://wordpress.org/support/users/jaybunten/)
 * (@jaybunten)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/code-is-getting-a-php-error-on-a-regular-basis/)
 * Getting this error on every few seconds. I am not calling the Session handler
   when the error occurs.
 * [27-Feb-2026 19:24:12 UTC] PHP Warning: session_set_save_handler(): Session save
   handler cannot be changed after headers have already been sent in /home1/rjbunten/
   public_html/cedarridgeranch/wp-content/plugins/wp-session-manager/vendor/ericmann/
   sessionz/php/Manager.php on line 133
   [27-Feb-2026 19:24:55 UTC] PHP Warning: 
   session_set_save_handler(): Session save handler cannot be changed after headers
   have already been sent in /home1/rjbunten/public_html/cedarridgeranch/wp-content/
   plugins/wp-session-manager/vendor/ericmann/sessionz/php/Manager.php on line 133[
   27-Feb-2026 19:27:29 UTC] PHP Warning: session_set_save_handler(): Session save
   handler cannot be changed after headers have already been sent in /home1/rjbunten/
   public_html/cedarridgeranch/wp-content/plugins/wp-session-manager/vendor/ericmann/
   sessionz/php/Manager.php on line 133
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-is-getting-a-php-error-on-a-regular-basis%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Carolina](https://wordpress.org/support/users/carolinaop/)
 * (@carolinaop)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/code-is-getting-a-php-error-on-a-regular-basis/#post-18838145)
 * Hello [@jaybunten](https://wordpress.org/support/users/jaybunten/),
 * Thanks for reaching out and for sharing the error log.
 * From the log details, the warnings are being triggered by **WP Session Manager**,
   not Code Snippets:
 * `/wp-content/plugins/wp-session-manager/.../Manager.php on line 133`
 * <span style=”font-size: inherit; font-family: -apple-system, BlinkMacSystemFont,"
   Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;”
   >The error message (</span><code data-start=”438″ data-end=”543″>session_set_save_handler():
   Session save handler cannot be changed after headers have already been sent<span
   style=”font-size: inherit; font-family: -apple-system, BlinkMacSystemFont, "Segoe
   UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;”>)
   is not related to the Code Snippets plugin.</span>
 * We recommend reaching out to the support team for WP Session Manager so they 
   can investigate this further, as they’ll be best equipped to diagnose what’s 
   triggering the session handler warning on your site.
 * If you’re experiencing any specific issues directly related to Code Snippets,
   please let us know and we’ll be happy to help.
 *  Plugin Author [Carolina](https://wordpress.org/support/users/carolinaop/)
 * (@carolinaop)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/code-is-getting-a-php-error-on-a-regular-basis/#post-18863363)
 * Hello [@jaybunten](https://wordpress.org/support/users/jaybunten/)
 * Since we haven’t received any further feedback, I’ll go ahead and close this 
   ticket for now. Please feel free to reopen it at any time if needed—we’ll be 
   happy to assist 🙂

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-is-getting-a-php-error-on-a-regular-basis%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Carolina](https://wordpress.org/support/users/carolinaop/)
 * Last activity: [2 months, 1 week ago](https://wordpress.org/support/topic/code-is-getting-a-php-error-on-a-regular-basis/#post-18863363)
 * Status: resolved