{"action":"created","issue":{"url":"https://api.github.com/repos/stevenmaguire/trello-php/issues/5","labels_url":"https://api.github.com/repos/stevenmaguire/trello-php/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/stevenmaguire/trello-php/issues/5/comments","events_url":"https://api.github.com/repos/stevenmaguire/trello-php/issues/5/events","html_url":"https://github.com/stevenmaguire/trello-php/issues/5","id":113405260,"number":5,"title":"getCurrentUserBoards() not working","user":{"login":"markodobric","id":15328391,"avatar_url":"https://avatars.githubusercontent.com/u/15328391?v=3","gravatar_id":"","url":"https://api.github.com/users/markodobric","html_url":"https://github.com/markodobric","followers_url":"https://api.github.com/users/markodobric/followers","following_url":"https://api.github.com/users/markodobric/following{/other_user}","gists_url":"https://api.github.com/users/markodobric/gists{/gist_id}","starred_url":"https://api.github.com/users/markodobric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markodobric/subscriptions","organizations_url":"https://api.github.com/users/markodobric/orgs","repos_url":"https://api.github.com/users/markodobric/repos","events_url":"https://api.github.com/users/markodobric/events{/privacy}","received_events_url":"https://api.github.com/users/markodobric/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-26T17:16:21Z","updated_at":"2015-10-26T19:55:10Z","closed_at":"2015-10-26T19:55:10Z","body":"Hi Steven,\r\n\r\nI am trying to connect with Trello but I have some problem.\r\n\r\nI'm using your example to get access token and I get it. But when I creating client and try to call my boards I get:\r\n   \"Fatal error: Call to a member function getReasonPhrase() on a non-object in ***vendor\\stevenmaguire\\trello-php\\src\\Http.php on line 252\" \r\n\r\n// this line work fine\r\n$credentials = $client->getAccessToken($_GET['oauth_token'], $_GET['oauth_verifier']); \r\n\r\n// creating client also work\r\n$client = new Stevenmaguire\\Services\\Trello\\Client(array(\r\n         'key' => ********,\r\n         'token' => $credentials->getIdentifier()\r\n ));\r\n\r\n// this line NOT WORKING!\r\n$boards = $client->getCurrentUserBoards();\r\n\r\nPlease, can you help me. Thanks."},"comment":{"url":"https://api.github.com/repos/stevenmaguire/trello-php/issues/comments/151264883","html_url":"https://github.com/stevenmaguire/trello-php/issues/5#issuecomment-151264883","issue_url":"https://api.github.com/repos/stevenmaguire/trello-php/issues/5","id":151264883,"user":{"login":"stevenmaguire","id":1851973,"avatar_url":"https://avatars.githubusercontent.com/u/1851973?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenmaguire","html_url":"https://github.com/stevenmaguire","followers_url":"https://api.github.com/users/stevenmaguire/followers","following_url":"https://api.github.com/users/stevenmaguire/following{/other_user}","gists_url":"https://api.github.com/users/stevenmaguire/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenmaguire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenmaguire/subscriptions","organizations_url":"https://api.github.com/users/stevenmaguire/orgs","repos_url":"https://api.github.com/users/stevenmaguire/repos","events_url":"https://api.github.com/users/stevenmaguire/events{/privacy}","received_events_url":"https://api.github.com/users/stevenmaguire/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T19:55:10Z","updated_at":"2015-10-26T19:55:10Z","body":"Perfect! And yes, that problem has shown up in the past and it is commonly related to your environment configuration rather than the code in this package, as you've discovered. I am glad you resolved it and helped make the package better!"}}