First output should be US
2nd output is your REMOTE_ADDR country

-- Begin IP - 73.229.112.33
Country Code - US
City Location - Monument
City Time Zone - America/Denver

object(GeoIp2\Exception\AddressNotFoundException)#22 (7) { ["message":protected]=> string(48) "The address 172.30.0.137 is not in the database." ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(66) "/home/offerit/offerit/vendor/geoip2/geoip2/src/Database/Reader.php" ["line":protected]=> int(205) ["trace":"Exception":private]=> array(3) { [0]=> array(5) { ["file"]=> string(66) "/home/offerit/offerit/vendor/geoip2/geoip2/src/Database/Reader.php" ["line"]=> int(176) ["function"]=> string(9) "getRecord" ["class"]=> string(22) "GeoIp2\Database\Reader" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(66) "/home/offerit/offerit/vendor/geoip2/geoip2/src/Database/Reader.php" ["line"]=> int(87) ["function"]=> string(8) "modelFor" ["class"]=> string(22) "GeoIp2\Database\Reader" ["type"]=> string(2) "->" } [2]=> array(5) { ["file"]=> string(31) "/home/offerit/offerit/www/r.php" ["line"]=> int(21) ["function"]=> string(7) "country" ["class"]=> string(22) "GeoIp2\Database\Reader" ["type"]=> string(2) "->" } } ["previous":"Exception":private]=> NULL } Exception -
-- Begin IP - 172.30.0.137
Country Code - US
City Location - Monument
City Time Zone - America/Denver

NEW----rep2