{"action":"created","issue":{"url":"https://api.github.com/repos/parse-community/parse-php-sdk/issues/375","repository_url":"https://api.github.com/repos/parse-community/parse-php-sdk","labels_url":"https://api.github.com/repos/parse-community/parse-php-sdk/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/parse-community/parse-php-sdk/issues/375/comments","events_url":"https://api.github.com/repos/parse-community/parse-php-sdk/issues/375/events","html_url":"https://github.com/parse-community/parse-php-sdk/issues/375","id":276003467,"number":375,"title":"Warning: Invalid argument supplied for foreach() in src/Parse/ParseObject.php","user":{"login":"fvimagination","id":14360232,"avatar_url":"https://avatars3.githubusercontent.com/u/14360232?v=4","gravatar_id":"","url":"https://api.github.com/users/fvimagination","html_url":"https://github.com/fvimagination","followers_url":"https://api.github.com/users/fvimagination/followers","following_url":"https://api.github.com/users/fvimagination/following{/other_user}","gists_url":"https://api.github.com/users/fvimagination/gists{/gist_id}","starred_url":"https://api.github.com/users/fvimagination/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvimagination/subscriptions","organizations_url":"https://api.github.com/users/fvimagination/orgs","repos_url":"https://api.github.com/users/fvimagination/repos","events_url":"https://api.github.com/users/fvimagination/events{/privacy}","received_events_url":"https://api.github.com/users/fvimagination/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-22T09:47:26Z","updated_at":"2017-11-22T09:53:20Z","closed_at":null,"author_association":"NONE","body":"### Issue Description\r\n\r\nHi there, I'm getting this issue while loading my websites with Parse PHP SDK today, it's been an hour so far.\r\nI also get this error about ParseQuery.php: Warning: Invalid argument supplied for foreach() in src/Parse/ParseQuery.php\r\n\r\n### Steps to reproduce\r\n\r\nJust try this website: [http://fvimagination.com/events/index.php](url), it seems there's an issue on ParseObject.php\r\n\r\n### Environment Details\r\n\r\n- Your PHP Version: **[7]**\r\n- Your Parse PHP SDK Version: **[1.3.0]**\r\n- Your Operating System: **[macOS Chrome browser]**\r\n"},"comment":{"url":"https://api.github.com/repos/parse-community/parse-php-sdk/issues/comments/346299526","html_url":"https://github.com/parse-community/parse-php-sdk/issues/375#issuecomment-346299526","issue_url":"https://api.github.com/repos/parse-community/parse-php-sdk/issues/375","id":346299526,"user":{"login":"soniurvashi11","id":10581743,"avatar_url":"https://avatars1.githubusercontent.com/u/10581743?v=4","gravatar_id":"","url":"https://api.github.com/users/soniurvashi11","html_url":"https://github.com/soniurvashi11","followers_url":"https://api.github.com/users/soniurvashi11/followers","following_url":"https://api.github.com/users/soniurvashi11/following{/other_user}","gists_url":"https://api.github.com/users/soniurvashi11/gists{/gist_id}","starred_url":"https://api.github.com/users/soniurvashi11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soniurvashi11/subscriptions","organizations_url":"https://api.github.com/users/soniurvashi11/orgs","repos_url":"https://api.github.com/users/soniurvashi11/repos","events_url":"https://api.github.com/users/soniurvashi11/events{/privacy}","received_events_url":"https://api.github.com/users/soniurvashi11/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T09:53:20Z","updated_at":"2017-11-22T09:53:20Z","author_association":"NONE","body":"Try printing your error, it will give you exact line number in which foreach is throwing error. And then you can find out what argument you are passing which is invalid, several reasons can be associated with invalid argument, eg. not an array, empty, null etc."}}
{"actor":{"display_login":"soniurvashi11"}}