Support » Plugin: WordPress Native PHP Sessions » Sessions Errors

  • Resolved Nat Miletic

    (@nmiletic)


    Hi,
    I am getting a session warning on my site that I am trying to troubleshoot unsuccessfully. I have also tried disabling the user tracking plugin for Formidable but I am still getting the first PHP warning so these two are not tied to each other I don’t think.

    Here is the PHP warning message:
    [10-Jan-2020 21:11:01 UTC] PHP Warning: session_set_save_handler(): Cannot change save handler when headers already sent in /srv/bindings/9c9cf2e3a19f4dd7a9c1e4e7d221fe6d/code/wp-content/plugins/wp-native-php-sessions/pantheon-sessions.php on line 163
    [10-Jan-2020 21:11:01 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /srv/bindings/9c9cf2e3a19f4dd7a9c1e4e7d221fe6d/code/wp-content/plugins/formidable-user-tracking/formidable-user-tracking.php on line 57

    Thanks,
    Nat

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hi @nmiletic,

    It seems like you might have some code that’s starting a session before WP Native PHP Sessions is loaded, or another plugin that has its own PHP sessions implementation.

    Can you send an email to the address listed on my GitHub profile and we can look at this further?

    Thanks!

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Just to close the loop on this, we weren’t able to track down the specific problem because it’s no longer occurring.

    Based on the specific error message though, it seems like some other plugin was sending headers before it should’ve. This would cause the notice you saw.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sessions Errors’ is closed to new replies.