CURL returns "0" in my case. Everything is working, when I change this line to the following: https://github.com/jeroendesloovere/geolocation-php-api/blob/019e6e84226e6c38e98694f037fccd7254a99ad2/src/Geolocation.php#L91 if ($errorNumber != '' && $errorNumber != 0) { throw new Exception($errorMessage); }
CURL returns "0" in my case. Everything is working, when I change this line to the following:
geolocation-php-api/src/Geolocation.php
Line 91 in 019e6e8
if ($errorNumber != '' && $errorNumber != 0) {
throw new Exception($errorMessage);
}