-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Session Stream Adapter GC throws an error #16713
Comments
Can you also include the code part of your session provider initialization in container? I'm interested to know if you have set it up correctly and how you are using it. |
Here are error messages.
Here is the part of the code for session.
|
If you don't pass a proper savePath to the Stream() constructor
you have to ensure the php ini value for |
Clearly the Either way I am going to issue a fix for this shortly. |
Resolved in #16715 Thank you @raicabogdan and @satorumoriwaki |
Questions? Forum: https://phalcon.io/forum or Discord: https://phalcon.io/discord
Describe the bug
Phalcon\Session\Adapter\Stream->gc()
To Reproduce
Expected behavior
Screenshots
Details
file
is not initialized as array.https://github.com/phalcon/cphalcon/blob/master/phalcon/Session/Adapter/Stream.zep#L98
it is used as array in for loop.
https://github.com/phalcon/cphalcon/blob/master/phalcon/Session/Adapter/Stream.zep#L103
Additional context
The text was updated successfully, but these errors were encountered: