Unhandled Exception

Message:

Trying to get property of non-object

Location:

/var/www/clashofsteel/application/controllers/gallery.php on line 108

Stack Trace:

#0 /var/www/clashofsteel/laravel/laravel.php(42): Laravel\Error::native(8, 'Trying to get p...', '/var/www/clasho...', 108)
#1 /var/www/clashofsteel/application/controllers/gallery.php(108): Laravel\{closure}(8, 'Trying to get p...', '/var/www/clasho...', 108, Array)
#2 [internal function]: Gallery_Controller->action_entry('388')
#3 /var/www/clashofsteel/laravel/routing/controller.php(325): call_user_func_array(Array, Array)
#4 /var/www/clashofsteel/laravel/routing/controller.php(285): Laravel\Routing\Controller->response('entry', Array)
#5 /var/www/clashofsteel/laravel/routing/controller.php(165): Laravel\Routing\Controller->execute('entry', Array)
#6 /var/www/clashofsteel/laravel/routing/route.php(153): Laravel\Routing\Controller::call('gallery@entry', Array)
#7 /var/www/clashofsteel/laravel/routing/route.php(124): Laravel\Routing\Route->response()
#8 /var/www/clashofsteel/laravel/laravel.php(167): Laravel\Routing\Route->call()
#9 /var/www/clashofsteel/public/index.php(34): require('/var/www/clasho...')
#10 {main}