Unhandled Exception

Message:

Trying to get property of non-object

Location:

/home/cbtracker/public/cardboardtracker.com/application/controllers/baseballplayers.php on line 1499

Stack Trace:

#0 /home/cbtracker/public/cardboardtracker.com/laravel/laravel.php(40): Laravel\Error::native(8, 'Trying to get p...', '/home/cbtracker...', 1499)
#1 /home/cbtracker/public/cardboardtracker.com/application/controllers/baseballplayers.php(1499): Laravel\{closure}(8, 'Trying to get p...', '/home/cbtracker...', 1499, Array)
#2 [internal function]: BaseballPlayers_Controller->get_profile('9581')
#3 /home/cbtracker/public/cardboardtracker.com/laravel/routing/controller.php(325): call_user_func_array(Array, Array)
#4 /home/cbtracker/public/cardboardtracker.com/laravel/routing/controller.php(285): Laravel\Routing\Controller->response('profile', Array)
#5 /home/cbtracker/public/cardboardtracker.com/laravel/routing/controller.php(165): Laravel\Routing\Controller->execute('profile', Array)
#6 /home/cbtracker/public/cardboardtracker.com/laravel/routing/route.php(153): Laravel\Routing\Controller::call('baseballplayers...', Array)
#7 /home/cbtracker/public/cardboardtracker.com/laravel/routing/route.php(124): Laravel\Routing\Route->response()
#8 /home/cbtracker/public/cardboardtracker.com/laravel/laravel.php(165): Laravel\Routing\Route->call()
#9 /home/cbtracker/public/cardboardtracker.com/public/index.php(34): require('/home/cbtracker...')
#10 {main}