{"action":"created","issue":{"url":"https://api.github.com/repos/cmfcmf/OpenWeatherMap-PHP-Api/issues/24","labels_url":"https://api.github.com/repos/cmfcmf/OpenWeatherMap-PHP-Api/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/cmfcmf/OpenWeatherMap-PHP-Api/issues/24/comments","events_url":"https://api.github.com/repos/cmfcmf/OpenWeatherMap-PHP-Api/issues/24/events","html_url":"https://github.com/cmfcmf/OpenWeatherMap-PHP-Api/issues/24","id":60374245,"number":24,"title":"Unknown Fatal Error","user":{"login":"caBBAlainB","id":9322571,"avatar_url":"https://avatars.githubusercontent.com/u/9322571?v=3","gravatar_id":"","url":"https://api.github.com/users/caBBAlainB","html_url":"https://github.com/caBBAlainB","followers_url":"https://api.github.com/users/caBBAlainB/followers","following_url":"https://api.github.com/users/caBBAlainB/following{/other_user}","gists_url":"https://api.github.com/users/caBBAlainB/gists{/gist_id}","starred_url":"https://api.github.com/users/caBBAlainB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caBBAlainB/subscriptions","organizations_url":"https://api.github.com/users/caBBAlainB/orgs","repos_url":"https://api.github.com/users/caBBAlainB/repos","events_url":"https://api.github.com/users/caBBAlainB/events{/privacy}","received_events_url":"https://api.github.com/users/caBBAlainB/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cmfcmf/OpenWeatherMap-PHP-Api/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T16:53:18Z","updated_at":"2015-05-16T21:25:18Z","closed_at":null,"body":"Hi,\r\nI very often get a OWMExceptionexception 'Cmfcmf\\OpenWeatherMap\\Exception' with message 'Unknown fatal error: OpenWeatherMap returned the following json object: ' in C:\\...\\openweathermap-php-api\\Cmfcmf\\OpenWeatherMap.php:168\r\n\r\nWhen I call $owm->getRawHourlyForecastData(), immediately followed by $owm->getWeather().\r\nThe order of calls doesn't matter. I think that something goes wrong when the owm calls are too close.\r\n\r\nI tried to insert a sleep(2) between the 2 calls without success... I wondered if openWeather() could limit the time between 2 requests but as it's 3000 req/min in free account. I don't think that the problem could be here.\r\n\r\nAny idea?"},"comment":{"url":"https://api.github.com/repos/cmfcmf/OpenWeatherMap-PHP-Api/issues/comments/102699652","html_url":"https://github.com/cmfcmf/OpenWeatherMap-PHP-Api/issues/24#issuecomment-102699652","issue_url":"https://api.github.com/repos/cmfcmf/OpenWeatherMap-PHP-Api/issues/24","id":102699652,"user":{"login":"RossMBoswell330","id":11950073,"avatar_url":"https://avatars.githubusercontent.com/u/11950073?v=3","gravatar_id":"","url":"https://api.github.com/users/RossMBoswell330","html_url":"https://github.com/RossMBoswell330","followers_url":"https://api.github.com/users/RossMBoswell330/followers","following_url":"https://api.github.com/users/RossMBoswell330/following{/other_user}","gists_url":"https://api.github.com/users/RossMBoswell330/gists{/gist_id}","starred_url":"https://api.github.com/users/RossMBoswell330/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RossMBoswell330/subscriptions","organizations_url":"https://api.github.com/users/RossMBoswell330/orgs","repos_url":"https://api.github.com/users/RossMBoswell330/repos","events_url":"https://api.github.com/users/RossMBoswell330/events{/privacy}","received_events_url":"https://api.github.com/users/RossMBoswell330/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T21:25:18Z","updated_at":"2015-05-16T21:25:18Z","body":"I can't seem to replicate this error. I am calling $owm->getRawHourlyForecastData() followed by $owm->getWeather() but I still don't get the exception. Have you got some example code we could look at? Or are there more specifics to generating this problem?"}}