Slim Application Error

The application could not run because of the following error:

Details

Type: ErrorException
Code: 8
Message: Undefined index: creditos
File: /data/lab.rtve.es/home/html/resumen-2015/index.php
Line: 47

Trace

#0 /data/lab.rtve.es/home/html/resumen-2015/index.php(47): Slim\Slim::handleErrors(8, 'Undefined index...', '/data/lab.rtve....', 47, Array)
#1 /data/lab.rtve.es/home/html/resumen-2015/index.php(359): getTagFromUrl('creditos')
#2 [internal function]: {closure}('creditos', 'periodismo')
#3 /data/lab.rtve.es/home/html/commons/libs/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#4 /data/lab.rtve.es/home/html/commons/libs/Slim/Slim.php(1338): Slim\Route->dispatch()
#5 /data/lab.rtve.es/home/html/commons/libs/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /data/lab.rtve.es/home/html/commons/libs/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /data/lab.rtve.es/home/html/commons/libs/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /data/lab.rtve.es/home/html/commons/libs/Slim/Slim.php(1283): Slim\Middleware\PrettyExceptions->call()
#9 /data/lab.rtve.es/home/html/resumen-2015/index.php(463): Slim\Slim->run()
#10 {main}