Hi @fdeross,
Sorry to hear you’re having troubles.
It’s hard to say what the problem might be without having access to the site. If this site is hosted on Pantheon, feel free to add me to a multidev environment and I can take a quick look. Otherwise, if you find a specific issue with the plugin, please provide reproduction steps and we can see about a fix.
I have the same issue. Was on Pantheon Support and they sent me here.
@jenclayton Can you email the address on my GitHub profile and we can work through the issue?
The specific problem in this case is that some other plugin is starting a session before WP Native PHP Sessions is loaded.
To fix the issue on @jenclayton’s site, I created a mu-plugin (wp-content/mu-plugins/wpnps-loader.php
) to load WP Native PHP Sessions earlier than all of the other plugins:
<?php
require_once WP_PLUGIN_DIR . '/wp-native-php-sessions/pantheon-sessions.php';
Awesome. Thank you so much Daniel!
Hi @danielbachhuber !
Since this workaround forces the php native sessions to load first above all plugins, will this also fix the errors outlined here: https://wordpress.org/support/topic/new-php-warnings/
Hey @carl-alberto,
All of the PHP notices should be fixed with WP Native PHP Sessions v0.9.0. If you’ve upgraded a site to v0.9.0, WP Native PHP Sessions is being loaded as a mu-plugin, and you’re still seeing PHP notices, feel free to file a new issue in the GitHub repo and I’ll help debug.
Thank you! Will take note of this!