I get the following error:
Fatal error: Uncaught Error: Call to undefined method MaxMind\Db\Reader::getWithPrefixLen() in /www/htdocs/xxx/xxx/wp-content/plugins/geoip-detect/vendor/geoip2/geoip2/src/Database/Reader.php:246 Stack trace: #0 /www/htdocs/xxx/xxx/wp-content/plugins/geoip-detect/vendor/geoip2/geoip2/src/Database/Reader.php(217): GeoIp2\Database\Reader->getRecord('City', 'City', '185.xx.xxx.xxx') #1 /www/htdocs/xxx/xxx/wp-content/plugins/geoip-detect/vendor/geoip2/geoip2/src/Database/Reader.php(73): GeoIp2\Database\Reader->modelFor('City', 'City', '185.xx.xxx.xxx') #2 /www/htdocs/xxx/xxx/wp-content/plugins/geoip-detect/geoip-detect-lib.php(192): GeoIp2\Database\Reader->city('185.xx.xxx.xxx') #3 /www/htdocs/xxx/xxx/wp-content/plugins/geoip-detect/api.php(83): _geoip_detect2_get_record_from_reader(Object(GeoIp2\Database\Reader), '185.xx.xxx.xxx', '') #4 /www/htdocs/xxx/xxx/wp-content/plugins/geoip-detect/ in /www/htdocs/xxx/xxx/wp-content/plugins/geoip-detect/vendor/geoip2/geoip2/src/Database/Reader.php on line 246
—
Any help or idea is greatly appreciated (and, by the way, THANKS for your great plugin and support!)