{"action":"opened","issue":{"url":"https://api.github.com/repos/laracasts/Integrated/issues/21","labels_url":"https://api.github.com/repos/laracasts/Integrated/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/laracasts/Integrated/issues/21/comments","events_url":"https://api.github.com/repos/laracasts/Integrated/issues/21/events","html_url":"https://github.com/laracasts/Integrated/issues/21","id":64975114,"number":21,"title":"FatalErrorException when submitting a form.","user":{"login":"davidsoderberg","id":2233092,"avatar_url":"https://avatars.githubusercontent.com/u/2233092?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsoderberg","html_url":"https://github.com/davidsoderberg","followers_url":"https://api.github.com/users/davidsoderberg/followers","following_url":"https://api.github.com/users/davidsoderberg/following{/other_user}","gists_url":"https://api.github.com/users/davidsoderberg/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsoderberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsoderberg/subscriptions","organizations_url":"https://api.github.com/users/davidsoderberg/orgs","repos_url":"https://api.github.com/users/davidsoderberg/repos","events_url":"https://api.github.com/users/davidsoderberg/events{/privacy}","received_events_url":"https://api.github.com/users/davidsoderberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-28T18:51:42Z","updated_at":"2015-03-28T18:51:42Z","closed_at":null,"body":"I get 'Symfony\\Component\\Debug\\Exception\\FatalErrorException' with message 'Call to undefined method ErrorException::getStatusCode()' when I try to submit a form why?\r\n\r\nThis is my code:\r\n\r\n```\r\n$this->visit('login')\r\n->type('david', 'loginUsername')\r\n->type('password', 'loginpassword')\r\n->press('Login')\r\n->see('You have logged in.');"}}