{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/94","labels_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/94/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/94/events","html_url":"https://github.com/ParsePlatform/parse-php-sdk/issues/94","id":68732215,"number":94,"title":"Getting User data from a pointer","user":{"login":"chlebta","id":1204608,"avatar_url":"https://avatars.githubusercontent.com/u/1204608?v=3","gravatar_id":"","url":"https://api.github.com/users/chlebta","html_url":"https://github.com/chlebta","followers_url":"https://api.github.com/users/chlebta/followers","following_url":"https://api.github.com/users/chlebta/following{/other_user}","gists_url":"https://api.github.com/users/chlebta/gists{/gist_id}","starred_url":"https://api.github.com/users/chlebta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chlebta/subscriptions","organizations_url":"https://api.github.com/users/chlebta/orgs","repos_url":"https://api.github.com/users/chlebta/repos","events_url":"https://api.github.com/users/chlebta/events{/privacy}","received_events_url":"https://api.github.com/users/chlebta/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-15T16:41:53Z","updated_at":"2015-08-03T19:41:28Z","closed_at":"2015-04-15T20:30:43Z","body":"Hello, I got a ParseObject **Question** which contain filed **Autheur** as Pointer to **_User**.\r\n I want to get  First Name of user from the Question Object using the Autheur pointer , I've tried this : \r\n```\r\n $query = new ParseQuery(\"Question\");\r\n        $results = $query->find();\r\n        foreach($results as $obj){\r\n            echo $obj->get(\"Autheur\")->get(\"firstName\");\r\n        }\r\n```\r\nBut I got this error : \r\n```\r\nParseObject has no data for this key. Call fetch() to get the data.\r\n in ParseObject.php line 194\r\nat ParseObject->get('firstName') in HomeController.php line 43\r\nat HomeController->index()\r\n``` \r\nHow to Solve it ?"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/comments/127383331","html_url":"https://github.com/ParsePlatform/parse-php-sdk/issues/94#issuecomment-127383331","issue_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/94","id":127383331,"user":{"login":"gfosco","id":406732,"avatar_url":"https://avatars.githubusercontent.com/u/406732?v=3","gravatar_id":"","url":"https://api.github.com/users/gfosco","html_url":"https://github.com/gfosco","followers_url":"https://api.github.com/users/gfosco/followers","following_url":"https://api.github.com/users/gfosco/following{/other_user}","gists_url":"https://api.github.com/users/gfosco/gists{/gist_id}","starred_url":"https://api.github.com/users/gfosco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfosco/subscriptions","organizations_url":"https://api.github.com/users/gfosco/orgs","repos_url":"https://api.github.com/users/gfosco/repos","events_url":"https://api.github.com/users/gfosco/events{/privacy}","received_events_url":"https://api.github.com/users/gfosco/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T19:41:28Z","updated_at":"2015-08-03T19:41:28Z","body":"You should be checking the value of `$obj->get(\"User\")` before attempting to access it.  Maybe you have objects without a user attached, or maybe \"User\" isn't the column name in \"SignoutDestination\".. "}}