Unhandled Exception

Message:

get_class() expects parameter 1 to be object, null given

Location:

/var/www/html/leviedegliuffizi/laravel/auth/drivers/eloquent.php on line 21

Stack Trace:

#0 /var/www/html/leviedegliuffizi/laravel/laravel.php(40): Laravel\Error::native(2, 'get_class() exp...', '/var/www/html/l...', 21)
#1 [internal function]: Laravel\{closure}(2, 'get_class() exp...', '/var/www/html/l...', 21, Array)
#2 /var/www/html/leviedegliuffizi/laravel/auth/drivers/eloquent.php(21): get_class(NULL)
#3 /var/www/html/leviedegliuffizi/laravel/auth/drivers/driver.php(79): Laravel\Auth\Drivers\Eloquent->retrieve(NULL)
#4 /var/www/html/leviedegliuffizi/laravel/auth/drivers/driver.php(65): Laravel\Auth\Drivers\Driver->user()
#5 /var/www/html/leviedegliuffizi/laravel/auth/drivers/driver.php(55): Laravel\Auth\Drivers\Driver->check()
#6 [internal function]: Laravel\Auth\Drivers\Driver->guest()
#7 /var/www/html/leviedegliuffizi/laravel/auth.php(90): call_user_func_array(Array, Array)
#8 /var/www/html/leviedegliuffizi/laravel/view.php(359) : eval()'d code(55): Laravel\Auth::__callStatic('guest', Array)
#9 /var/www/html/leviedegliuffizi/laravel/view.php(359): eval()
#10 /var/www/html/leviedegliuffizi/laravel/blade.php(71): Laravel\View->get()
#11 [internal function]: Laravel\Blade::Laravel\{closure}(Object(Laravel\View))
#12 /var/www/html/leviedegliuffizi/laravel/event.php(199): call_user_func_array(Object(Closure), Array)
#13 /var/www/html/leviedegliuffizi/laravel/event.php(138): Laravel\Event::fire('laravel.view.en...', Array, true)
#14 /var/www/html/leviedegliuffizi/laravel/view.php(330): Laravel\Event::until('laravel.view.en...', Array)
#15 /var/www/html/leviedegliuffizi/laravel/view.php(359) : eval()'d code(15): Laravel\View->render()
#16 /var/www/html/leviedegliuffizi/laravel/view.php(359): eval()
#17 /var/www/html/leviedegliuffizi/laravel/blade.php(71): Laravel\View->get()
#18 [internal function]: Laravel\Blade::Laravel\{closure}(Object(Laravel\View))
#19 /var/www/html/leviedegliuffizi/laravel/event.php(199): call_user_func_array(Object(Closure), Array)
#20 /var/www/html/leviedegliuffizi/laravel/event.php(138): Laravel\Event::fire('laravel.view.en...', Array, true)
#21 /var/www/html/leviedegliuffizi/laravel/view.php(330): Laravel\Event::until('laravel.view.en...', Array)
#22 /var/www/html/leviedegliuffizi/laravel/view.php(551): Laravel\View->render()
#23 /var/www/html/leviedegliuffizi/laravel/response.php(246): Laravel\View->__toString()
#24 /var/www/html/leviedegliuffizi/laravel/laravel.php(178): Laravel\Response->render()
#25 /var/www/html/leviedegliuffizi/public/index.php(34): require('/var/www/html/l...')
#26 {main}