{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/7284","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/7284/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/7284/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/7284/events","html_url":"https://github.com/cakephp/cakephp/issues/7284","id":102547053,"number":7284,"title":"Auth error message when accessing an unauthorized page since 3.0.12","user":{"login":"cake17","id":1652972,"avatar_url":"https://avatars.githubusercontent.com/u/1652972?v=3","gravatar_id":"","url":"https://api.github.com/users/cake17","html_url":"https://github.com/cake17","followers_url":"https://api.github.com/users/cake17/followers","following_url":"https://api.github.com/users/cake17/following{/other_user}","gists_url":"https://api.github.com/users/cake17/gists{/gist_id}","starred_url":"https://api.github.com/users/cake17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cake17/subscriptions","organizations_url":"https://api.github.com/users/cake17/orgs","repos_url":"https://api.github.com/users/cake17/repos","events_url":"https://api.github.com/users/cake17/events{/privacy}","received_events_url":"https://api.github.com/users/cake17/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Defect","name":"Defect","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/57","html_url":"https://github.com/cakephp/cakephp/milestones/3.0.13","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/57/labels","id":1267159,"number":57,"title":"3.0.13","description":"Bugfixes and minor enhancements for 3.0.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":7,"state":"open","created_at":"2015-08-22T01:47:51Z","updated_at":"2015-08-23T07:08:54Z","due_on":"2015-09-06T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-08-22T16:12:54Z","updated_at":"2015-08-23T09:14:43Z","closed_at":"2015-08-22T20:37:24Z","body":"after #7239, I get this error message `Warning (2): Illegal string offset '_base' [CORE/src/Controller/Component/AuthComponent.php, line 409]`.\r\n\r\nThis happens since CakePHP 3.0.12, when a user tries to reach an unauthorized page.\r\n\r\nMy config for Auth is as follow:\r\n\r\n    $this->loadComponent('Auth', [\r\n            'loginRedirect' => '/',\r\n           ....\r\n    ]);\r\n\r\nSeems that it's not possible to redirect to '/' ? Passing an array makes it work but I'd rather keep '/' for my `loginRedirect` option. (For not having to rewrite tests...)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/133806053","html_url":"https://github.com/cakephp/cakephp/issues/7284#issuecomment-133806053","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/7284","id":133806053,"user":{"login":"cake17","id":1652972,"avatar_url":"https://avatars.githubusercontent.com/u/1652972?v=3","gravatar_id":"","url":"https://api.github.com/users/cake17","html_url":"https://github.com/cake17","followers_url":"https://api.github.com/users/cake17/followers","following_url":"https://api.github.com/users/cake17/following{/other_user}","gists_url":"https://api.github.com/users/cake17/gists{/gist_id}","starred_url":"https://api.github.com/users/cake17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cake17/subscriptions","organizations_url":"https://api.github.com/users/cake17/orgs","repos_url":"https://api.github.com/users/cake17/repos","events_url":"https://api.github.com/users/cake17/events{/privacy}","received_events_url":"https://api.github.com/users/cake17/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T09:14:43Z","updated_at":"2015-08-23T09:14:43Z","body":"Thanks !"}}