it was working before now it stopped.
Any changes made, like an upgrade from 10 to 11? Php version?
Summer Sale! All accounts are 50% off this week.
I am using flash messages all over my project but for some reason i am getting this error now everthing was working fine.
Method Illuminate\Session\Store::flash does not exist.
i am making flash messages like this
session()->flash('status', 'Task was successful!');
it was working before now it stopped. i also tired
Session::flash('success', 'Vehicle Created!');
Session::put('success', 'Vehicle Created!');
facade with put keyword is working but i don't want to use this. My session settings in env
SESSION_DRIVER=file
SESSION_LIFETIME=120
can someone help me to debug?
Are all required use statements included in Service.php? Are you trying to use flash messages with ajax?
Please or to participate in this conversation.