WordPress core does not use PHP sessions, but sometimes they are required by your use-case, plugin or theme..
This allows plugins, themes, and custom code to use PHP $ SESSIONs in environment where PHP's default tempfile storage just won't work..
The best way to contribute to the development of this plugin is by participating on the GitHub project https github com pantheon-systems wp-native-php-sessions.
Circle CI runs Behat test suite against Pantheon site, to ensure the compatibility with Pantheon platform...
PHPUnit requires WordPress PHPUnit test suite, and access to database with name wordpress test.
If you haven't already configured the suite locally, you can run bash bin install-wp-tests sh wordpress test root localhost..
Once you've created the site, you'll need install Terminus, and set TERMINUS TOKEN, TERMINUS SITE, and TERMINUS ENV environment variables.
Then, you can run bin behat-prepare sh to prepare the site for the test suite..
Fatal error session start Failed to initialize storage module user in code wp-content plugins plugin-that-uses-sessions example php on line 2 you have in the directory that is instantiating prior to this plugin loading.
To fix, you will need to deactivate this plugin and instead load it via mu-plugin that loads first, e.g create mu-plugin called 00.php and add in it to include the wp-native-php-sessions pantheon-sessions php file and the problem should disappear...
Read more