Skip to content

Conversation

@ChrisWeller
Copy link

If there is no session on reading the result was returned as null, it now returns an empty string which PHP (7.1) handles without error.

If there is no session on reading the result was returned as null, it now returns an empty string which PHP handles without error.
@andersonbuzzi
Copy link

You read my thoughts. I got this error here and this fix it. Tks.,

@programster
Copy link
Owner

programster commented Mar 7, 2022

Thank you for raising this issue and submitting a merge request. I'm a bit confused about the problem:

If there is no session on reading the result was returned as null, it now returns an empty string which PHP (7.1) handles without error.

Are we saying that the code does have a session because it has timed out, just before the call to getting session data or something? Or are we saying that the application has never called session_start() before trying to read a session variable?
A short piece of code I could run to demonstrate the issue would be great (if possible).

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can you fix this so that we have the original indentation using 4 spaces. This way the actual/real changes are easy to see/view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants