- πΊπΈUnited States matpiet
This worked for me. I just updated this module in 2024 and the code is still return NULL out of the box. Not sure why this isn't in the source code at this point.
After switching to PHP 7.1 we found that lots of users could not log in and the log was full of messages like "session_start(): Failed to read session data: user" pointing to wincache-session.code.inc.
After a quick Stack Overflow search I found that SessionHandler::read()
has to return a string.
I'm not sure if the WincacheSessionHandler::read()
is ever supposed to get to the last return statement and what caused it to get to it after the upgrade, but changing it to return an empty string fixed the issue.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This worked for me. I just updated this module in 2024 and the code is still return NULL out of the box. Not sure why this isn't in the source code at this point.