Problem:

Notice: Trying to get property of non-object in geoip_country_code_by_addr() (line 398 of ../modules/geoip/lib/geoip.inc).

Solution:

Change if ($record !== false) { to if (!empty($record)) {

Is this error just because I'm on dev/localhost?