when redirect gives an error “undefined”-Collection of common programming errors
I have an odd problem. When I click my button to redirect to a certain controller method it gives me an error “UNDEFINED” but when I refresh the page it gives me the right output.
You can access my site here: http://apps.stratpoint.com:9114/login
Don’t know where to debug this kind of problem. Help anyone.
-
One scenario when redirect undefined comes is when the helper class has not been loaded. Make sure you have loaded url helper- this is needed for redirect to work.
Originally posted 2013-11-09 21:08:42.