Unhandled Exception

Message:

Trying to get property of non-object

Location:

/var/www/vhosts/4thebest.clickondetroit.com/httpdocs/application/controllers/category.php on line 317

Stack Trace:

#0 /var/www/vhosts/4thebest.clickondetroit.com/httpdocs/laravel/laravel.php(40): Laravel\Error::native(8, 'Trying to get p...', '/var/www/vhosts...', 317)
#1 /var/www/vhosts/4thebest.clickondetroit.com/httpdocs/application/controllers/category.php(317): Laravel\{closure}(8, 'Trying to get p...', '/var/www/vhosts...', 317, Array)
#2 [internal function]: Category_Controller->get_winners('spring-2009', 'fine-dining', 'seafood')
#3 /var/www/vhosts/4thebest.clickondetroit.com/httpdocs/laravel/routing/controller.php(325): call_user_func_array(Array, Array)
#4 /var/www/vhosts/4thebest.clickondetroit.com/httpdocs/laravel/routing/controller.php(285): Laravel\Routing\Controller->response('winners', Array)
#5 /var/www/vhosts/4thebest.clickondetroit.com/httpdocs/laravel/routing/controller.php(165): Laravel\Routing\Controller->execute('winners', Array)
#6 /var/www/vhosts/4thebest.clickondetroit.com/httpdocs/laravel/routing/route.php(153): Laravel\Routing\Controller::call('category@winner...', Array)
#7 /var/www/vhosts/4thebest.clickondetroit.com/httpdocs/laravel/routing/route.php(124): Laravel\Routing\Route->response()
#8 /var/www/vhosts/4thebest.clickondetroit.com/httpdocs/laravel/laravel.php(165): Laravel\Routing\Route->call()
#9 /var/www/vhosts/4thebest.clickondetroit.com/httpdocs/public/index.php(34): require('/var/www/vhosts...')
#10 {main}