Slim Application Error

The application could not run because of the following error:

Details

Type: ErrorException
Code: 8
Message: Trying to get property of non-object
File: /data/lab.rtve.es/home/html/ingenieria-romana/index.php
Line: 372

Trace

#0 /data/lab.rtve.es/home/html/ingenieria-romana/index.php(372): Slim\Slim::handleErrors(8, 'Trying to get p...', '/data/lab.rtve....', 372, Array)
#1 [internal function]: {closure}()
#2 /data/lab.rtve.es/home/html/commons/libs/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#3 /data/lab.rtve.es/home/html/commons/libs/Slim/Slim.php(1338): Slim\Route->dispatch()
#4 /data/lab.rtve.es/home/html/commons/libs/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#5 /data/lab.rtve.es/home/html/commons/libs/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#6 /data/lab.rtve.es/home/html/commons/libs/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#7 /data/lab.rtve.es/home/html/commons/libs/Slim/Slim.php(1283): Slim\Middleware\PrettyExceptions->call()
#8 /data/lab.rtve.es/home/html/ingenieria-romana/index.php(551): Slim\Slim->run()
#9 {main}