--- geouser.module	2009-10-30 10:24:02.000000000 +0100
+++ geouserpatched.module	2009-10-30 10:37:41.000000000 +0100
@@ -90,7 +90,9 @@
           $addr = GeoUser::getUserIP($uid = arg(1));
           $location = GeoUser::getGeoCity($addr);
           $countryName = $location->countryName;
-          $regionName = GeoUser::getRegionName($location);
+          if($location){
+          	      $regionName = GeoUser::getRegionName($location);
+          }
           $cityName = $location->city;
 
           if($location){
