I am attempting to update my application so that sessions are handled via the database instead of flat files, so that I can track which users are currently logged in and in order to do so have been using the following resources to help:
Get All Connected Users (Laravel 5)
https://gist.github.com/brunogaspar/494903b3dd16321a12d1
https://laravel.com/docs/5.0/session#configuration
However for some reason, despite following each step I just get the following error:
ErrorException in Manager.php line 139:
call_user_func_array() expects parameter 1 to be a valid callback, class 'Illuminate\Session\Store' does not have a method 'updateCurrent'
Can anybody please explain to me what I'm doing wrong?
Thanks for any help in advance!