Issue with Session not saving values anymore #40200
-
Description:I just did a composer update on my laravel install a few days ago. Ever since the Session session hasn't been working. It's manifested itself in several ways. First the when attempting to do a return redirect()->back()->withErrors($validator->errors()); The following code doesn't display any errors.
This used to work before the update. And If I have to go and now change it to some other way or using some other format it will be a monumental undertaking on my project. We are talking about megabytes of source code here that I do not have to time to rewrite. Other issues I'm running into are that the Session::put() function is not saving arrays of data. And I've also tried adding Session::save() call and still I'm getting no results. I'm also having issues with the laravel authentication system as well. I've tried to use the database session table as a cache rather than redis and it wasn't writing to the database. I've tried setting it so it saves the session in redis. No dice. Steps To Reproduce:I'm not sure how this happened. It just stopped working all of a sudden and nothing I've tried seems to fix it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
@pneves001 Could you check if this middleware is still used on the routes where it goes wrong?
|
Beta Was this translation helpful? Give feedback.
@pneves001 Could you check if this middleware is still used on the routes where it goes wrong?