Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught exception when try use Slim's redirect method #2

Open
nandodutra opened this issue May 8, 2013 · 1 comment
Open

Uncaught exception when try use Slim's redirect method #2

nandodutra opened this issue May 8, 2013 · 1 comment

Comments

@nandodutra
Copy link

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?

@leo4all
Copy link

leo4all commented Jun 26, 2015

No one could response this ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants