Closed Wotisrv closed 1 year ago
Which version of geoip2.phar are you using?
2.12.2 the latest available on github.
There is a good chance that it is connected to #103, although it is not 100% how. Unfortunately I cannot reproduce it. When the bugfix for the other issue is out please try again. If it is still happening I have to add a check for this specific case.
Hei,
Currently installed GeoBlocker app for Nextcloud gives me this error in the log file:
Exception: OCA\GeoBlocker\LocalizationServices\MaxMindGeoLite2::getCountryCodeFromIPImpl(): Return value must be of type string, null returned in file '/var/www/html/nextcloud/apps/geoblocker/lib/LocalizationServices/MaxMindGeoLite2.php' line 95
It appears every time when I go into Nextcloud settings / Geoblocker.
System: Fedora-Linux 36 (Server-Edition) Nextcloud 24.0.3 PHP 8.1.8 Apache 2.4.54