Unhandled Exception

Message:

Trying to get property of non-object

Location:

/var/www/application/controllers/firms.php on line 137

Stack Trace:

#0 /var/www/laravel/laravel.php(40): Laravel\Error::native(8, 'Trying to get p...', '/var/www/applic...', 137)
#1 /var/www/application/controllers/firms.php(137): Laravel\{closure}(8, 'Trying to get p...', '/var/www/applic...', 137, Array)
#2 [internal function]: Firms_Controller->action_browse('Cadent Energy P...')
#3 /var/www/laravel/routing/controller.php(323): call_user_func_array(Array, Array)
#4 /var/www/laravel/routing/controller.php(283): Laravel\Routing\Controller->response('browse', Array)
#5 /var/www/laravel/routing/controller.php(165): Laravel\Routing\Controller->execute('browse', Array)
#6 /var/www/laravel/routing/route.php(153): Laravel\Routing\Controller::call('firms@browse', Array)
#7 /var/www/laravel/routing/route.php(124): Laravel\Routing\Route->response()
#8 /var/www/laravel/laravel.php(125): Laravel\Routing\Route->call()
#9 /var/www/public/index.php(45): require('/var/www/larave...')
#10 {main}