Fatal error: Uncaught InvalidArgumentException: Route callable must be callable in /home/intagri/public_html/vendor/slim/slim/Slim/Route.php:178 Stack trace: #0 /home/intagri/public_html/vendor/slim/slim/Slim/Route.php(107): Slim\Route->setCallable(NULL) #1 /home/intagri/public_html/vendor/slim/slim/Slim/Slim.php(443): Slim\Route->__construct('/cursos(/:type(...', NULL, true) #2 /home/intagri/public_html/vendor/slim/slim/Slim/Slim.php(473): Slim\Slim->mapRoute(Array) #3 /home/intagri/public_html/web.php(64): Slim\Slim->get('/cursos(/:type(...', NULL) #4 /home/intagri/public_html/index.php(133): include('/home/intagri/p...') #5 {main} thrown in /home/intagri/public_html/vendor/slim/slim/Slim/Route.php on line 178