Slim Application Error

The application could not run because of the following error:

Details

Type: ErrorException
Code: 8
Message: Trying to get property 'attrs' of non-object
File: /home/fundauni/public_html/portal/site/controllers/Servicios.ctrl.php
Line: 28

Trace

#0 /home/fundauni/public_html/portal/site/controllers/Servicios.ctrl.php(28): Slim\Slim::handleErrors(8, 'Trying to get p...', '/home/fundauni/...', 28, Array)
#1 /home/fundauni/public_html/portal/site/router.php(8): ServiciosCtrl->index(Object(stdClass))
#2 /home/fundauni/public_html/portal/site/router.php(80): Router\dispatch('ServiciosCtrl@i...', Object(stdClass))
#3 /home/fundauni/public_html/portal/site/index.php(119): Router\resolve(Object(stdClass))
#4 [internal function]: {closure}()
#5 /home/fundauni/public_html/portal/vendor/slim/slim/Slim/Route.php(469): call_user_func_array(Object(Closure), Array)
#6 /home/fundauni/public_html/portal/vendor/slim/slim/Slim/Slim.php(1369): Slim\Route->dispatch()
#7 /home/fundauni/public_html/portal/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#8 /home/fundauni/public_html/portal/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#9 /home/fundauni/public_html/portal/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#10 /home/fundauni/public_html/portal/vendor/slim/slim/Slim/Slim.php(1304): Slim\Middleware\PrettyExceptions->call()
#11 /home/fundauni/public_html/portal/site/index.php(122): Slim\Slim->run()
#12 {main}