$this->redirect(array($redirect, 'error' => $error, 'msg' => $msg, 'details' => $details));
How can we pass array as a parameter? I have tried during redirection.
Returning:
Error 400 Your request is invalid.
Any help would be appreciated.
$this->redirect(array($redirect, 'error' => $error, 'msg' => $msg, 'details' => $details));
How can we pass array as a parameter? I have tried during redirection.
Returning:
Error 400 Your request is invalid.
Any help would be appreciated.
After a lots of tries I have found that , the array what I was passing is an associative array and passing with GET
method, so while redirection if we seen in URL, associative array passing with every internal element of $details
array, and same parameters are not listed at destination method, so the result will not found such a method.