-
Notifications
You must be signed in to change notification settings - Fork 11k
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
session_write_close(): Session callback expects true/false return value #15717
Comments
We don't use the session_write_close function? |
From what I understand, See: http://php.net/manual/en/sessionhandlerinterface.write.php |
Turns out this warning can also be fired when |
taylorotwell
pushed a commit
that referenced
this issue
Oct 18, 2016
* Fix session_write_close(): Session callback expects true/false return value #15717 * Fix Styling * Fixed same error with `session_destroy`
symfony-splitter
pushed a commit
to illuminate/session
that referenced
this issue
Oct 18, 2016
* Fix session_write_close(): Session callback expects true/false return value laravel/framework#15717 * Fix Styling * Fixed same error with `session_destroy`
bepsvpt
pushed a commit
to bepsvpt-fork/framework
that referenced
this issue
Oct 18, 2016
* Fix session_write_close(): Session callback expects true/false return value laravel#15717 * Fix Styling * Fixed same error with `session_destroy`
taylorotwell
pushed a commit
to illuminate/session
that referenced
this issue
Sep 17, 2018
* Fix session_write_close(): Session callback expects true/false return value laravel/framework#15717 * Fix Styling * Fixed same error with `session_destroy`
duksis
added a commit
to duksis/SessionHandlerCookie
that referenced
this issue
Jul 4, 2022
fixes stevencorona#11 One possible solution for the warning messages in logs described in stevencorona#11 following the example of Laravel laravel/framework#15717
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Since I upgraded my test server to php7, I get this warning in the logs :
We use
Illuminate/Session
FileSessionHandler
(See here).According to this thread, the
write
method of the session handler needs to returntrue
. Addingreturn true;
here will fix the warning message : https://github.com/illuminate/session/blob/master/FileSessionHandler.php#L81-L84This probably apply to other Session handler inside
Illuminate/Session
as well.The text was updated successfully, but these errors were encountered: