After a new and clean install, the plugin default is try to get the country from a maxmind file. This ends in a site crash due to the following logic in getCountryFromMaxmindFile method:
// does the database exist?
if (!$this->fileName ||
!@file_exists($this->fileName)) {
$this->iso = $this->defaultCountry;
return;
}
is_file should be used instead of file_exists:
// does the database exist?
if (!$this->fileName ||
!@is_file($this->fileName)) {
$this->iso = $this->defaultCountry;
return;
}
]]>