I have the default installation of Debugbar in Laravel 8. Everything seems to be working normally, except the _flash session data is empty on a normal POST request with a form request class for validation. When validation fails, the data is not there. The _flash data looks like this:
array:2 [
"old" => []
"new" => []
]
When I do a dd(old()) I see the data so I know the session is fine. It's just not showing in Debugbar.
Is there something I need to set up for this to work? Any ideas? Thanks.
on the righthand side of the debugbar, there is a file icon, click it and you will see recent requests
after your form submit that failed validation you should see two:
GET - destination of the redirect after failed validation
POST - actual form submit
... others from history
click the POST row, the debugbar data updates to show that POST request and you should see what you expect in the _flash session data