{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/74","labels_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/74/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/74/events","html_url":"https://github.com/ParsePlatform/parse-php-sdk/pull/74","id":59063314,"number":74,"title":"Fix __PHP_Incomplete_Class when not logged in","user":{"login":"nenuadrian","id":5632882,"avatar_url":"https://avatars.githubusercontent.com/u/5632882?v=3","gravatar_id":"","url":"https://api.github.com/users/nenuadrian","html_url":"https://github.com/nenuadrian","followers_url":"https://api.github.com/users/nenuadrian/followers","following_url":"https://api.github.com/users/nenuadrian/following{/other_user}","gists_url":"https://api.github.com/users/nenuadrian/gists{/gist_id}","starred_url":"https://api.github.com/users/nenuadrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nenuadrian/subscriptions","organizations_url":"https://api.github.com/users/nenuadrian/orgs","repos_url":"https://api.github.com/users/nenuadrian/repos","events_url":"https://api.github.com/users/nenuadrian/events{/privacy}","received_events_url":"https://api.github.com/users/nenuadrian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-26T12:10:37Z","updated_at":"2015-03-02T20:01:23Z","closed_at":"2015-03-02T20:01:23Z","pull_request":{"url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/pulls/74","html_url":"https://github.com/ParsePlatform/parse-php-sdk/pull/74","diff_url":"https://github.com/ParsePlatform/parse-php-sdk/pull/74.diff","patch_url":"https://github.com/ParsePlatform/parse-php-sdk/pull/74.patch"},"body":"When no user is logged in and I want to run any query what so ever I receive a fatal error of $userData being and __PHP_Incomplete_Class object.\r\n\r\nWhen an user is logged in I no longer have this problem. The proposed code fixes this when the object is broken only."},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/comments/76801283","html_url":"https://github.com/ParsePlatform/parse-php-sdk/pull/74#issuecomment-76801283","issue_url":"https://api.github.com/repos/ParsePlatform/parse-php-sdk/issues/74","id":76801283,"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-03-02T20:01:23Z","updated_at":"2015-03-02T20:01:23Z","body":"I am not aware of a good reason why you would need to start the session before including Parse.  This workaround seems like a hack, which you're welcome to maintain in your own codebase."}}