-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi everyone, i'm was following this tutorial, but i had a issue when tryed use the Slim's redirect method in a controller, take a look at the output of log:
127.0.0.1:33766 [500]: / - Uncaught exception 'Slim\Exception\Stop' in /var/www/Slim-MVC/vendor/slim/slim/Slim/Slim.php:927
Stack trace:
#0 /var/www/Slim-MVC/vendor/slim/slim/Slim/Slim.php(947): Slim\Slim->stop()
#1 /var/www/Slim-MVC/vendor/slim/slim/Slim/Slim.php(1010): Slim\Slim->halt(302)
#2 /var/www/Slim-MVC/Controller/Main.php(9): Slim\Slim->redirect('/test/fernando')
#3 [internal function]: Controller\Main->index()
#4 /var/www/Slim-MVC/vendor/NetTuts/Router.php(68): call_user_func_array(Array, Array)
#5 [internal function]: NetTuts\Router->NetTuts{closure}()
#6 /var/www/Slim-MVC/vendor/NetTuts/Router.php(83): call_user_func_array(Object(Closure), Array)
#7 /var/www/Slim-MVC/public/index.php(23): NetTuts\Router->run()
#8 {main}
thrown in /var/www/Slim-MVC/vendor/slim/slim/Slim/Slim.php on line 927
i thought did something wrong when was following the tutorial, then i clone the Github's repository https://github.com/NETTUTS/Slim-MVC and i had the same issue.
Someone know how solve this issue?