Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The value "" is not a valid IP address.' in /var/www/geoiplookup/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php:100 Stack trace: #0 /var/www/geoiplookup/vendor/geoip2/geoip2/src/GeoIp2/Database/Reader.php(203): MaxMind\Db\Reader->get(NULL) #1 /var/www/geoiplookup/vendor/geoip2/geoip2/src/GeoIp2/Database/Reader.php(176): GeoIp2\Database\Reader->getRecord('City', 'City', NULL) #2 /var/www/geoiplookup/vendor/geoip2/geoip2/src/GeoIp2/Database/Reader.php(70): GeoIp2\Database\Reader->modelFor('City', 'City', NULL) #3 /var/www/geoiplookup/public/api.php(9): GeoIp2\Database\Reader->city(NULL) #4 {main} thrown in /var/www/geoiplookup/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php on line 100