{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/2002","repository_url":"https://api.github.com/repos/slimphp/Slim","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/2002/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/2002/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/2002/events","html_url":"https://github.com/slimphp/Slim/issues/2002","id":180224508,"number":2002,"title":"Unable to redirect ","user":{"login":"himsinghal","id":4537637,"avatar_url":"https://avatars.githubusercontent.com/u/4537637?v=3","gravatar_id":"","url":"https://api.github.com/users/himsinghal","html_url":"https://github.com/himsinghal","followers_url":"https://api.github.com/users/himsinghal/followers","following_url":"https://api.github.com/users/himsinghal/following{/other_user}","gists_url":"https://api.github.com/users/himsinghal/gists{/gist_id}","starred_url":"https://api.github.com/users/himsinghal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himsinghal/subscriptions","organizations_url":"https://api.github.com/users/himsinghal/orgs","repos_url":"https://api.github.com/users/himsinghal/repos","events_url":"https://api.github.com/users/himsinghal/events{/privacy}","received_events_url":"https://api.github.com/users/himsinghal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-30T05:43:58Z","updated_at":"2016-09-30T13:49:03Z","closed_at":null,"body":"I am getting something unexpected error while redirecting.  the desired operations are performing well with out any issue i.e. record is successful inserting but redirection fails.\r\n\r\n**PLEASE HELP OUT ON THIS ISSUE**\r\n\r\nindex.php :\r\n\r\n`\r\n```\r\n<?php\r\nsession_start();\r\nrequire_once '../../libs/Slim/Slim.php';\r\nrequire_once '../../include/Config.php';\r\nrequire_once '../../include/generalfunction.php';\r\nrequire_once '../../Classes/admission.php';\r\nrequire_once '../../Classes/EnquiryForm.php';\r\n\r\n\\Slim\\Slim::registerAutoloader();\r\n$app = new \\Slim\\Slim();\r\n\r\n$app->post('/add', function () use ($app) {\r\n    try {\r\n\r\n        $lObject = $app->request()->post();\r\n        $enquiry_id = $lObject['enquiry_id'];\r\n        unset($lObject['enquiry_id']);\r\n        $subObject = new admission();\r\n        \r\n        $params = array();\r\n        $params['admitted_class_code'] = $lObject['admitted_class_code'];\r\n        $params['student_name'] = $lObject['student_name'];\r\n        $params['gender'] = $lObject['gender'];\r\n        $params['date_of_birth'] = $lObject['date_of_birth'];\r\n        $params['admission_date'] = $lObject['admission_date'];\r\n        $params['fathers_name'] = $lObject['fathers_name'];\r\n        $params['father_occupation'] = $lObject['father_occupation'];\r\n        $params['father_mobile_no'] = $lObject['father_mobile_no'];\r\n        $params['email_id'] = $lObject['email_id'];\r\n        $params['mothers_name'] = $lObject['mothers_name'];\r\n        $params['mother_occupation'] = $lObject['mother_occupation'];\r\n        $params['mother_mobile_no'] = $lObject['mother_mobile_no'];\r\n        $params['sibling_name_1'] = $lObject['sibling_name_1'];\r\n        $params['sibling_age_1'] = $lObject['sibling_age_1'];\r\n        $params['sibling_name_2'] = $lObject['sibling_name_2'];\r\n        $params['sibling_age_2'] = $lObject['sibling_age_2'];\r\n        $params['address'] = $lObject['address'];\r\n        $params['city'] = $lObject['city'];\r\n        $params['state'] = $lObject['state'];\r\n        $params['postal_code'] = $lObject['postal_code'];\r\n        $params['home_contact'] = $lObject['home_contact'];\r\n        $params['joining_date'] = $lObject['joining_date'];\r\n        $params['require_transport'] = $lObject['require_transport'];\r\n        $params['emergency_name'] = $lObject['emergency_name'];\r\n        $params['emergency_phone_no'] = $lObject['emergency_phone_no'];\r\n        $params['admission_year'] = $_SESSION['fin_year'];\r\n        $params['company_code'] = 1;\r\n        $params['sub_company_code'] = $_SESSION['sub_company_code'];\r\n        $params['branch_code'] = $_SESSION['branch_code'];\r\n        $params['created_by'] = $_SESSION['user'];\r\n\r\n        \r\n        $lastInsertId = $subObject->add($params);\r\n\r\n        if (!empty($lastInsertId)) {\r\n            unset($params);\r\n            if (!empty($enquiry_id)) {\r\n                $obj = new EnquiryForm();\r\n                $paramerter = array();\r\n                $paramerter['id'] = $enquiry_id;\r\n                $paramerter['is_converted'] = 1;\r\n                $var = $obj->update($paramerter);\r\n                 $app->redirect(URL . 'upload_image.php?Admission_no=' . $lastInsertId);\r\n            } else {\r\n                 $app->redirect(URL . 'upload_image.php?Admission_no=' . $lastInsertId);\r\n            }\r\n        } \r\n        else\r\n        {\r\n            $app->redirect(URL . 'list_admission.php?er=' . TAG_RESPONSE_FAIL);\r\n        }\r\n    } catch (Exception $e) {\r\n        print_r($e);\r\n    }\r\n});\r\n\r\n                                     $app->run();\r\n                                          ?>\r\n```\r\n`\r\n\r\nerror : \r\n`\r\nSlim\\Exception\\Stop Object\r\n(\r\n    [message:protected] => \r\n    [string:Exception:private] => \r\n    [code:protected] => 0\r\n    [file:protected] => /home/demosetu/#/libs/Slim/Slim.php\r\n    [line:protected] => 1022\r\n    [trace:Exception:private] => Array\r\n        (\r\n            [0] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/libs/Slim/Slim.php\r\n                    [line] => 1042\r\n                    [function] => stop\r\n                    [class] => Slim\\Slim\r\n                    [type] => ->\r\n                    [args] => Array\r\n                        (\r\n                        )\r\n\r\n                )\r\n\r\n            [1] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/libs/Slim/Slim.php\r\n                    [line] => 1105\r\n                    [function] => halt\r\n                    [class] => Slim\\Slim\r\n                    [type] => ->\r\n                    [args] => Array\r\n                        (\r\n                            [0] => 302\r\n                        )\r\n\r\n                )\r\n\r\n            [2] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/api/admission/index.php\r\n                    [line] => 70\r\n                    [function] => redirect\r\n                    [class] => Slim\\Slim\r\n                    [type] => ->\r\n                    [args] => Array\r\n                        (\r\n                            [0] => http://#/list_admission.php?er=400\r\n                        )\r\n\r\n                )\r\n\r\n            [3] => Array\r\n                (\r\n                    [function] => {closure}\r\n                    [args] => Array\r\n                        (\r\n                        )\r\n\r\n                )\r\n\r\n            [4] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/libs/Slim/Route.php\r\n                    [line] => 468\r\n                    [function] => call_user_func_array\r\n                    [args] => Array\r\n                        (\r\n                            [0] => Closure Object\r\n                                (\r\n                                    [static] => Array\r\n                                        (\r\n                                            [app] => Slim\\Slim Object\r\n                                                (\r\n                                                    [container] => Slim\\Helper\\Set Object\r\n                                                        (\r\n                                                            [data:protected] => Array\r\n                                                                (\r\n                                                                    [settings] => Array\r\n                                                                        (\r\n                                                                            [mode] => development\r\n                                                                            [debug] => 1\r\n                                                                            [log.writer] => \r\n                                                                            [log.level] => 8\r\n                                                                            [log.enabled] => 1\r\n                                                                            [templates.path] => ./templates\r\n                                                                            [view] => \\Slim\\View\r\n                                                                            [cookies.encrypt] => \r\n                                                                            [cookies.lifetime] => 20 minutes\r\n                                                                            [cookies.path] => /\r\n                                                                            [cookies.domain] => \r\n                                                                            [cookies.secure] => \r\n                                                                            [cookies.httponly] => \r\n                                                                            [cookies.secret_key] => CHANGE_ME\r\n                                                                            [cookies.cipher] => rijndael-256\r\n                                                                            [cookies.cipher_mode] => cbc\r\n                                                                            [http.version] => 1.1\r\n                                                                            [routes.case_sensitive] => 1\r\n                                                                        )\r\n\r\n                                                                    [environment] => Closure Object\r\n                                                                        (\r\n                                                                            [static] => Array\r\n                                                                                (\r\n                                                                                    [value] => Closure Object\r\n                                                                                        (\r\n                                                                                            [this] => Slim\\Slim Object\r\n *RECURSION*\r\n                                                                                            [parameter] => Array\r\n                                                                                                (\r\n                                                                                                    [$c] => <required>\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                    [object] => Slim\\Environment Object\r\n                                                                                        (\r\n                                                                                            [properties:protected] => Array\r\n                                                                                                (\r\n                                                                                                    [REQUEST_METHOD] => POST\r\n                                                                                                    [REMOTE_ADDR] => xxx.xx.xxx.xx\r\n                                                                                                    [SCRIPT_NAME] => /api/admission/index.php\r\n                                                                                                    [PATH_INFO] => /add\r\n                                                                                                    [QUERY_STRING] => \r\n                                                                                                    [SERVER_NAME] => #\r\n                                                                                                    [SERVER_PORT] => 80\r\n                                                                                                    [CONTENT_LENGTH] => 2794\r\n                                                                                                    [CONTENT_TYPE] => multipart/form-data; boundary=----WebKitFormBoundaryRPYAR4tZXu1Q30Ws\r\n                                                                                                    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\n                                                                                                    [HTTP_ACCEPT_ENCODING] => gzip, deflate\r\n                                                                                                    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8\r\n                                                                                                    [HTTP_CACHE_CONTROL] => max-age=0\r\n                                                                                                    [HTTP_CONNECTION] => keep-alive\r\n                                                                                                    [HTTP_COOKIE] => PHPSESSID=2cc1b3a752d85bf3d05d497b46e8c9cb\r\n                                                                                                    [HTTP_HOST] => #\r\n                                                                                                    [HTTP_ORIGIN] => http://#\r\n                                                                                                    [HTTP_REFERER] => http://#/admission_details.php\r\n                                                                                                    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1\r\n                                                                                                    [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36\r\n                                                                                                    [slim.url_scheme] => http\r\n                                                                                                    [slim.input] => \r\n                                                                                                    [slim.errors] => Resource id #27\r\n                                                                                                    [slim.request.form_hash] => Array\r\n                                                                                                        (\r\n                                                                                                            [admitted_class_code] => NURSERY\r\n                                                                                                            [admission_date] => 30-09-2016\r\n                                                                                                            [student_name] => fasdasd\r\n                                                                                                            [gender] => Male\r\n                                                                                                            [date_of_birth] => 14-09-2016\r\n                                                                                                            [fathers_name] => aasdsad\r\n                                                                                                            [mothers_name] => zfdfsdf\r\n                                                                                                            [father_occupation] => dasdas\r\n                                                                                                            [mother_occupation] => sdfsdfsd\r\n                                                                                                            [father_mobile_no] => 9999999999\r\n                                                                                                            [mother_mobile_no] => 9999999999\r\n                                                                                                            [sibling_name_1] => \r\n                                                                                                            [sibling_age_1] => \r\n                                                                                                            [sibling_name_2] => \r\n                                                                                                            [sibling_age_2] => \r\n                                                                                                            [address] => sadasd\r\n                                                                                                            [city] => DElhi\r\n                                                                                                            [state] => 9\r\n                                                                                                            [postal_code] => 20131\r\n                                                                                                            [email_id] => xx@xx.com\r\n                                                                                                            [home_contact] => \r\n                                                                                                            [joining_date] => 30-09-2016\r\n                                                                                                            [require_transport] => 0\r\n                                                                                                            [emergency_name] => ikml\r\n                                                                                                            [emergency_phone_no] => 9999999999\r\n                                                                                                            [enquiry_id] => \r\n                                                                                                        )\r\n\r\n                                                                                                    [slim.flash] => Slim\\Middleware\\Flash Object\r\n                                                                                                        (\r\n                                                                                                            [settings:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                    [key] => slim.flash\r\n                                                                                                                )\r\n\r\n                                                                                                            [messages:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                    [prev] => Array\r\n                                                                                                                        (\r\n                                                                                                                        )\r\n\r\n                                                                                                                    [next] => Array\r\n                                                                                                                        (\r\n                                                                                                                        )\r\n\r\n                                                                                                                    [now] => Array\r\n                                                                                                                        (\r\n                                                                                                                        )\r\n\r\n                                                                                                                )\r\n\r\n                                                                                                            [app:protected] => Slim\\Slim Object\r\n *RECURSION*\r\n                                                                                                            [next:protected] => Slim\\Slim Object\r\n *RECURSION*\r\n                                                                                                        )\r\n\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                )\r\n\r\n                                                                            [this] => Slim\\Helper\\Set Object\r\n *RECURSION*\r\n                                                                            [parameter] => Array\r\n                                                                                (\r\n                                                                                    [$c] => <required>\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                    [request] => Closure Object\r\n                                                                        (\r\n                                                                            [static] => Array\r\n                                                                                (\r\n                                                                                    [value] => Closure Object\r\n                                                                                        (\r\n                                                                                            [this] => Slim\\Slim Object\r\n *RECURSION*\r\n                                                                                            [parameter] => Array\r\n                                                                                                (\r\n                                                                                                    [$c] => <required>\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                    [object] => Slim\\Http\\Request Object\r\n                                                                                        (\r\n                                                                                            [env:protected] => Slim\\Environment Object\r\n                                                                                                (\r\n                                                                                                    [properties:protected] => Array\r\n                                                                                                        (\r\n                                                                                                            [REQUEST_METHOD] => POST\r\n                                                                                                            [REMOTE_ADDR] => xxx.xx.xxx.xx\r\n                                                                                                            [SCRIPT_NAME] => /api/admission/index.php\r\n                                                                                                            [PATH_INFO] => /add\r\n                                                                                                            [QUERY_STRING] => \r\n                                                                                                            [SERVER_NAME] => #\r\n                                                                                                            [SERVER_PORT] => 80\r\n                                                                                                            [CONTENT_LENGTH] => 2794\r\n                                                                                                            [CONTENT_TYPE] => multipart/form-data; boundary=----WebKitFormBoundaryRPYAR4tZXu1Q30Ws\r\n                                                                                                            [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\n                                                                                                            [HTTP_ACCEPT_ENCODING] => gzip, deflate\r\n                                                                                                            [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8\r\n                                                                                                            [HTTP_CACHE_CONTROL] => max-age=0\r\n                                                                                                            [HTTP_CONNECTION] => keep-alive\r\n                                                                                                            [HTTP_COOKIE] => PHPSESSID=2cc1b3a752d85bf3d05d497b46e8c9cb\r\n                                                                                                            [HTTP_HOST] => #\r\n                                                                                                            [HTTP_ORIGIN] => http://#\r\n                                                                                                            [HTTP_REFERER] => http://#/admission_details.php\r\n                                                                                                            [HTTP_UPGRADE_INSECURE_REQUESTS] => 1\r\n                                                                                                            [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36\r\n                                                                                                            [slim.url_scheme] => http\r\n                                                                                                            [slim.input] => \r\n                                                                                                            [slim.errors] => Resource id #27\r\n                                                                                                            [slim.request.form_hash] => Array\r\n                                                                                                                (\r\n                                                                                                                    [admitted_class_code] => NURSERY\r\n                                                                                                                    [admission_date] => 30-09-2016\r\n                                                                                                                    [student_name] => fasdasd\r\n                                                                                                                    [gender] => Male\r\n                                                                                                                    [date_of_birth] => 14-09-2016\r\n                                                                                                                    [fathers_name] => aasdsad\r\n                                                                                                                    [mothers_name] => zfdfsdf\r\n                                                                                                                    [father_occupation] => dasdas\r\n                                                                                                                    [mother_occupation] => sdfsdfsd\r\n                                                                                                                    [father_mobile_no] => 9999999999\r\n                                                                                                                    [mother_mobile_no] => 9999999999\r\n                                                                                                                    [sibling_name_1] => \r\n                                                                                                                    [sibling_age_1] => \r\n                                                                                                                    [sibling_name_2] => \r\n                                                                                                                    [sibling_age_2] => \r\n                                                                                                                    [address] => sadasd\r\n                                                                                                                    [city] => DElhi\r\n                                                                                                                    [state] => 9\r\n                                                                                                                    [postal_code] => 20131\r\n                                                                                                                    [email_id] => xyzz@zzz.com\r\n                                                                                                                    [home_contact] => \r\n                                                                                                                    [joining_date] => 30-09-2016\r\n                                                                                                                    [require_transport] => 0\r\n                                                                                                                    [emergency_name] => ikml\r\n                                                                                                                    [emergency_phone_no] => 9999999999\r\n                                                                                                                    [enquiry_id] => \r\n                                                                                                                )\r\n\r\n                                                                                                            [slim.flash] => Slim\\Middleware\\Flash Object\r\n                                                                                                                (\r\n                                                                                                                    [settings:protected] => Array\r\n                                                                                                                        (\r\n                                                                                                                            [key] => slim.flash\r\n                                                                                                                        )\r\n\r\n                                                                                                                    [messages:protected] => Array\r\n                                                                                                                        (\r\n                                                                                                                            [prev] => Array\r\n                                                                                                                                (\r\n                                                                                                                                )\r\n\r\n                                                                                                                            [next] => Array\r\n                                                                                                                                (\r\n                                                                                                                                )\r\n\r\n                                                                                                                            [now] => Array\r\n                                                                                                                                (\r\n                                                                                                                                )\r\n\r\n                                                                                                                        )\r\n\r\n                                                                                                                    [app:protected] => Slim\\Slim Object\r\n *RECURSION*\r\n                                                                                                                    [next:protected] => Slim\\Slim Object\r\n *RECURSION*\r\n                                                                                                                )\r\n\r\n                                                                                                        )\r\n\r\n                                                                                                )\r\n\r\n                                                                                            [headers] => Slim\\Http\\Headers Object\r\n                                                                                                (\r\n                                                                                                    [data:protected] => Array\r\n                                                                                                        (\r\n                                                                                                            [Content-Length] => 2794\r\n                                                                                                            [Content-Type] => multipart/form-data; boundary=----WebKitFormBoundaryRPYAR4tZXu1Q30Ws\r\n                                                                                                            [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\n                                                                                                            [Accept-Encoding] => gzip, deflate\r\n                                                                                                            [Accept-Language] => en-                                                                                           US,en;q=0.8\r\n                                                                                                            [Cache-Control] => max-age=0\r\n                                                                                                            [Connection] => keep-alive\r\n                                                                                                            [Cookie] =>                                                                                            PHPSESSID=2cc1b3a752d85bf3d05d497b46e8c9cb\r\n                                                                                                            [Host] => #\r\n                                                                                                            [Origin] => http://#\r\n                                                                                                            [Referer] =>                                                                                            http://#/admission_details.php\r\n                                                                                                            [Upgrade-Insecure-Requests] => 1\r\n                                                                                                            [User-Agent] => Mozilla/5.0                                                                                            (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143                                                                                            Safari/537.36\r\n                                                                                                        )\r\n\r\n                                                                                                )\r\n\r\n                                                                                            [cookies] => Slim\\Helper\\Set Object\r\n                                                                                                (\r\n                                                                                                    [data:protected] => Array\r\n                                                                                                        (\r\n                                                                                                            [PHPSESSID] => 7b46e8cd85bf3d05d499cb2cc1b3a752\r\n                                                                                                        )\r\n\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                )\r\n\r\n                                                                            [this] => Slim\\Helper\\Set Object\r\n                                                                                            *RECURSION*\r\n                                                                            [parameter] => Array\r\n                                                                                (\r\n                                                                                    [$c] => <required>\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                    [response] => Closure Object\r\n                                                                        (\r\n                                                                            [static] => Array\r\n                                                                                (\r\n                                                                                    [value] => Closure Object\r\n                                                                                        (\r\n                                                                                            [this] => Slim\\Slim Object\r\n                                                                                            *RECURSION*\r\n                                                                                            [parameter] => Array\r\n                                                                                                (\r\n                                                                                                    [$c] => <required>\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                    [object] => Slim\\Http\\Response Object\r\n                                                                                        (\r\n                                                                                            [status:protected] => 302\r\n                                                                                            [headers] => Slim\\Http\\Headers Object\r\n                                                                                                (\r\n                                                                                                    [data:protected] => Array\r\n                                                                                                        (\r\n                                                                                                            [Content-Type] => text/html\r\n                                                                   [Location] =>                                                                                         http://#/list_admission.php?er=400\r\n                                                                                                        )\r\n\r\n                                                                                                )\r\n\r\n                                                                                            [cookies] => Slim\\Http\\Cookies Object\r\n                                                                                                (\r\n                                                                                                    [defaults:protected] => Array\r\n                                                                                                        (\r\n                                                                                                            [value] => \r\n                                                                                                            [domain] => \r\n                                                                                                            [path] => \r\n                                                                                                            [expires] => \r\n                                                                                                            [secure] => \r\n                                                                                                            [httponly] => \r\n                                                                                                        )\r\n\r\n                                                                                                    [data:protected] => Array\r\n                                                                                                        (\r\n                                                                                                        )\r\n\r\n                                                                                                )\r\n\r\n                                                                                            [body:protected] => \r\n                                                                                            [length:protected] => 0\r\n                                                                                        )\r\n\r\n                                                                                )\r\n\r\n                                                                            [this] => Slim\\Helper\\Set Object\r\n                                                                                           *RECURSION*\r\n                                                                            [parameter] => Array\r\n                                                                                (\r\n                                                                                    [$c] => <required>\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                    [router] => Closure Object\r\n                                                                        (\r\n                                                                            [static] => Array\r\n                                                                                (\r\n                                                                                    [value] => Closure Object\r\n                                                                                        (\r\n                                                                                            [this] => Slim\\Slim Object\r\n                                                                                            *RECURSION*\r\n                                                                                            [parameter] => Array\r\n                                                                                                (\r\n                                                                                                    [$c] => <required>\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                    [object] => Slim\\Router Object\r\n                                                                                        (\r\n                                                                                            [currentRoute:protected] => \r\n                                                                                            [routes:protected] => Array\r\n                                                                                                (\r\n                                                                                                    [0] => Slim\\Route Object\r\n                                                                                                        (\r\n                                                                                                            [pattern:protected] => /add\r\n                                                                                                            [callable:protected] => Closure Object\r\n                                                                                            *RECURSION*\r\n                                                                                                            [conditions:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [name:protected] => \r\n                                                                                                            [params:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [paramNames:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [paramNamesPath:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [methods:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                    [0] => POST\r\n                                                                                                                )\r\n\r\n                                                                                                            [middleware:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [caseSensitive:protected] => 1\r\n                                                                                                        )\r\n\r\n                                                                                                )\r\n\r\n                                                                                            [namedRoutes:protected] => \r\n                                                                                            [matchedRoutes:protected] => Array\r\n                                                                                                (\r\n                                                                                                    [0] => Slim\\Route Object\r\n                                                                                                        (\r\n                                                                                                            [pattern:protected] => /add\r\n                                                                                                            [callable:protected] => Closure Object\r\n                                                                                            *RECURSION*\r\n                                                                                                            [conditions:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [name:protected] => \r\n                                                                                                            [params:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [paramNames:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [paramNamesPath:protected] =>                                                                                            Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [methods:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                    [0] => POST\r\n                                                                                                                )\r\n\r\n                                                                                                            [middleware:protected] => Array\r\n                                                                                                                (\r\n                                                                                                                )\r\n\r\n                                                                                                            [caseSensitive:protected] => 1\r\n                                                                                                        )\r\n\r\n                                                                                                )\r\n\r\n                                                                                            [routeGroups:protected] => Array\r\n                                                                                                (\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                )\r\n\r\n                                                                            [this] => Slim\\Helper\\Set Object\r\n                                                                                            *RECURSION*\r\n                                                                            [parameter] => Array\r\n                                                                                (\r\n                                                                                    [$c] => <required>\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                    [view] => Closure Object\r\n                                                                        (\r\n                                                                            [static] => Array\r\n                                                                                (\r\n                                                                                    [value] => Closure Object\r\n                                                                                        (\r\n                                                                                            [this] => Slim\\Slim Object\r\n                                                                                                                                                                                       *RECURSION*\r\n                                                                                            [parameter] => Array\r\n                                                                                                (\r\n                                                                                                    [$c] => <required>\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                    [object] => Slim\\View Object\r\n                                                                                        (\r\n                                                                                            [data:protected] => Slim\\Helper\\Set Object\r\n                                                                                                (\r\n                                                                                                    [data:protected] => Array\r\n                                                                                                        (\r\n                                                                                                            [flash] => Slim\\Middleware\\Flash                                                                                            Object\r\n                                                                                                                (\r\n                                                                                                                    [settings:protected] => Array\r\n                                                                                                                        (\r\n                                                                                                                            [key] => slim.flash\r\n                                                                                                                        )\r\n\r\n                                                                                                                    [messages:protected] => Array\r\n                                                                                                                        (\r\n                                                                                                                            [prev] => Array\r\n                                                                                                                                (\r\n                                                                                                                                )\r\n\r\n                                                                                                                            [next] => Array\r\n                                                                                                                                (\r\n                                                                                                                                )\r\n\r\n                                                                                                                            [now] => Array\r\n                                                                                                                                (\r\n                                                                                                                                )\r\n\r\n                                                                                                                        )\r\n\r\n                                                                                                                    [app:protected] => Slim\\Slim Object\r\n                                                                                            *RECURSION*\r\n                                                                                                                    [next:protected] => Slim\\Slim                                                                                            Object\r\n                                                                                            *RECURSION*\r\n                                                                                                                )\r\n\r\n                                                                                                        )\r\n\r\n                                                                                                )\r\n\r\n                                                                                            [templatesDirectory:protected] => ./templates\r\n                                                                                        )\r\n\r\n                                                                                )\r\n\r\n                                                                            [this] => Slim\\Helper\\Set Object\r\n                                                                                            *RECURSION*\r\n                                                                            [parameter] => Array\r\n                                                                                (\r\n                                                                                    [$c] => <required>\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                    [logWriter] => Closure Object\r\n                                                                        (\r\n                                                                            [static] => Array\r\n                                                                                (\r\n                                                                                    [value] => Closure Object\r\n                                                                                        (\r\n                                                                                            [this] => Slim\\Slim Object\r\n                                                                                            *RECURSION*\r\n                                                                                            [parameter] => Array\r\n                                                                                                (\r\n                                                                                                    [$c] => <required>\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                    [object] => \r\n                                                                                )\r\n\r\n                                                                            [this] => Slim\\Helper\\Set Object\r\n                                                                                            *RECURSION*\r\n                                                                            [parameter] => Array\r\n                                                                                (\r\n                                                                                    [$c] => <required>\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                    [log] => Closure Object\r\n                                                                        (\r\n                                                                            [static] => Array\r\n                                                                                (\r\n                                                                                    [value] => Closure Object\r\n                                                                                        (\r\n                                                                                            [this] => Slim\\Slim Object\r\n                                                                                            *RECURSION*\r\n                                                                                            [parameter] => Array\r\n                                                                                                (\r\n                                                                                                    [$c] => <required>\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                    [object] => \r\n                                                                                )\r\n\r\n                                                                            [this] => Slim\\Helper\\Set Object\r\n                                                                                            *RECURSION*\r\n                                                                            [parameter] => Array\r\n                                                                                (\r\n                                                                                    [$c] => <required>\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                    [mode] => Closure Object\r\n                                                                        (\r\n                                                                            [this] => Slim\\Slim Object\r\n                                                                                            *RECURSION*\r\n                                                                            [parameter] => Array\r\n                                                                                (\r\n                                                                                    [$c] => <required>\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                )\r\n\r\n                                                        )\r\n\r\n                                                    [name:protected] => default\r\n                                                    [middleware:protected] => Array\r\n                                                        (\r\n                                                            [0] => Slim\\Middleware\\PrettyExceptions Object\r\n                                                                (\r\n                                                                    [settings:protected] => Array\r\n                                                                        (\r\n                                                                        )\r\n\r\n                                                                    [app:protected] => Slim\\Slim Object\r\n                                                                                            *RECURSION*\r\n                                                                    [next:protected] => Slim\\Middleware\\MethodOverride                                                                                                                                                                                       Object\r\n                                                                        (\r\n                                                                            [settings:protected] => Array\r\n                                                                                (\r\n                                                                                    [key] => _METHOD\r\n                                                                                )\r\n\r\n                                                                            [app:protected] => Slim\\Slim Object\r\n                                                                                             *RECURSION*\r\n                                                                            [next:protected] => Slim\\Middleware\\Flash Object\r\n                                                                                (\r\n                                                                                    [settings:protected] => Array\r\n                                                                                        (\r\n                                                                                            [key] => slim.flash\r\n                                                                                        )\r\n\r\n                                                                                    [messages:protected] => Array\r\n                                                                                        (\r\n                                                                                            [prev] => Array\r\n                                                                                                (\r\n                                                                                                )\r\n\r\n                                                                                            [next] => Array\r\n                                                                                                (\r\n                                                                                                )\r\n\r\n                                                                                            [now] => Array\r\n                                                                                                (\r\n                                                                                                )\r\n\r\n                                                                                        )\r\n\r\n                                                                                    [app:protected] => Slim\\Slim Object\r\n                                                                                                *RECURSION*\r\n                                                                                    [next:protected] => Slim\\Slim Object\r\n                                                                                                     *RECURSION*\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                )\r\n\r\n                                                            [1] => Slim\\Middleware\\MethodOverride Object\r\n                                                                (\r\n                                                                    [settings:protected] => Array\r\n                                                                        (\r\n                                                                            [key] => _METHOD\r\n                                                                        )\r\n\r\n                                                                    [app:protected] => Slim\\Slim Object\r\n                                                                                             *RECURSION*\r\n                                                                    [next:protected] => Slim\\Middleware\\Flash Object\r\n                                                                        (\r\n                                                                            [settings:protected] => Array\r\n                                                                                (\r\n                                                                                    [key] => slim.flash\r\n                                                                                )\r\n\r\n                                                                            [messages:protected] => Array\r\n                                                                                (\r\n                                                                                    [prev] => Array\r\n                                                                                        (\r\n                                                                                        )\r\n\r\n                                                                                    [next] => Array\r\n                                                                                        (\r\n                                                                                        )\r\n\r\n                                                                                    [now] => Array\r\n                                                                                        (\r\n                                                                                        )\r\n\r\n                                                                                )\r\n\r\n                                                                            [app:protected] => Slim\\Slim Object\r\n                                                                                               *RECURSION*\r\n                                                                            [next:protected] => Slim\\Slim Object\r\n                                                                                           *RECURSION*\r\n                                                                        )\r\n\r\n                                                                )\r\n\r\n                                                            [2] => Slim\\Middleware\\Flash Object\r\n                                                                (\r\n                                                                    [settings:protected] => Array\r\n                                                                        (\r\n                                                                            [key] => slim.flash\r\n                                                                        )\r\n\r\n                                                                    [messages:protected] => Array\r\n                                                                        (\r\n                                                                            [prev] => Array\r\n                                                                                (\r\n                                                                                )\r\n\r\n                                                                            [next] => Array\r\n                                                                                (\r\n                                                                                )\r\n\r\n                                                                            [now] => Array\r\n                                                                                (\r\n                                                                                )\r\n\r\n                                                                        )\r\n\r\n                                                                    [app:protected] => Slim\\Slim Object\r\n                                                                         *RECURSION*\r\n                                                                    [next:protected] => Slim\\Slim Object\r\n                                                                                                     *RECURSION*\r\n                                                                )\r\n\r\n                                                            [3] => Slim\\Slim Object\r\n                                                                        *RECURSION*\r\n                                                        )\r\n\r\n                                                    [error:protected] => \r\n                                                    [notFound:protected] => \r\n                                                    [hooks:protected] => Array\r\n                                                        (\r\n                                                            [slim.before] => Array\r\n                                                                (\r\n                                                                    [0] => Array\r\n                                                                        (\r\n                                                                        )\r\n\r\n                                                                )\r\n\r\n                                                            [slim.before.router] => Array\r\n                                                                (\r\n                                                                    [0] => Array\r\n                                                                        (\r\n                                                                        )\r\n\r\n                                                                )\r\n\r\n                                                            [slim.before.dispatch] => Array\r\n                                                                (\r\n                                                                    [0] => Array\r\n                                                                        (\r\n                                                                        )\r\n\r\n                                                                )\r\n\r\n                                                            [slim.after.dispatch] => Array\r\n                                                                (\r\n                                                                    [0] => Array\r\n                                                                        (\r\n                                                                        )\r\n\r\n                                                                )\r\n\r\n                                                            [slim.after.router] => Array\r\n                                                                (\r\n                                                                    [0] => Array\r\n                                                                        (\r\n                                                                        )\r\n\r\n                                                                )\r\n\r\n                                                            [slim.after] => Array\r\n                                                                (\r\n                                                                    [0] => Array\r\n                                                                        (\r\n                                                                        )\r\n\r\n                                                                )\r\n\r\n                                                        )\r\n\r\n                                                )\r\n\r\n                                        )\r\n\r\n                                )\r\n\r\n                            [1] => Array\r\n                                (\r\n                                )\r\n\r\n                        )\r\n\r\n                )\r\n\r\n            [5] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/libs/Slim/Slim.php\r\n                    [line] => 1357\r\n                    [function] => dispatch\r\n                    [class] => Slim\\Route\r\n                    [type] => ->\r\n                    [args] => Array\r\n                        (\r\n                        )\r\n\r\n                )\r\n\r\n            [6] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/libs/Slim/Middleware/Flash.php\r\n                    [line] => 85\r\n                    [function] => call\r\n                    [class] => Slim\\Slim\r\n                    [type] => ->\r\n                    [args] => Array\r\n                        (\r\n                        )\r\n\r\n                )\r\n\r\n            [7] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/libs/Slim/Middleware/MethodOverride.php\r\n                    [line] => 92\r\n                    [function] => call\r\n                    [class] => Slim\\Middleware\\Flash\r\n                    [type] => ->\r\n                    [args] => Array\r\n                        (\r\n                        )\r\n\r\n                )\r\n\r\n            [8] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/libs/Slim/Middleware/PrettyExceptions.php\r\n                    [line] => 67\r\n                    [function] => call\r\n                    [class] => Slim\\Middleware\\MethodOverride\r\n                    [type] => ->\r\n                    [args] => Array\r\n                        (\r\n                        )\r\n\r\n                )\r\n\r\n            [9] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/libs/Slim/Slim.php\r\n                    [line] => 1302\r\n                    [function] => call\r\n                    [class] => Slim\\Middleware\\PrettyExceptions\r\n                    [type] => ->\r\n                    [args] => Array\r\n                        (\r\n                        )\r\n\r\n                )\r\n\r\n            [10] => Array\r\n                (\r\n                    [file] => /home/demosetu/#/api/admission/index.php\r\n                    [line] => 77\r\n                    [function] => run\r\n                    [class] => Slim\\Slim\r\n                    [type] => ->\r\n                    [args] => Array\r\n                        (\r\n                        )\r\n\r\n                )\r\n\r\n        )\r\n\r\n    [previous:Exception:private] => \r\n)\r\n`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/250748883","html_url":"https://github.com/slimphp/Slim/issues/2002#issuecomment-250748883","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/2002","id":250748883,"user":{"login":"geggleto","id":4027602,"avatar_url":"https://avatars.githubusercontent.com/u/4027602?v=3","gravatar_id":"","url":"https://api.github.com/users/geggleto","html_url":"https://github.com/geggleto","followers_url":"https://api.github.com/users/geggleto/followers","following_url":"https://api.github.com/users/geggleto/following{/other_user}","gists_url":"https://api.github.com/users/geggleto/gists{/gist_id}","starred_url":"https://api.github.com/users/geggleto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geggleto/subscriptions","organizations_url":"https://api.github.com/users/geggleto/orgs","repos_url":"https://api.github.com/users/geggleto/repos","events_url":"https://api.github.com/users/geggleto/events{/privacy}","received_events_url":"https://api.github.com/users/geggleto/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T13:49:03Z","updated_at":"2016-09-30T13:49:03Z","body":"```\r\n$app->redirect(URL . 'list_admission.php?er=' . TAG_RESPONSE_FAIL);\r\n$app->stop();\r\n```"}}
{"actor":{"display_login":"geggleto"}}