I preface this support request with the fact that I know that this site is a) an unsupported Joomla version. b) an old version of Admintools, and c) an old unsupported PHP version. These may also be playing a role here. I'm working on upgrading sites for a number of installs and haven't got to this one yet.
I have never seen this error before.
So when my client tries to access the site from his browser, from inside a U.S. Military base, but otherwise, no other known security issues, instead of the site coming up, he gets this code error:
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The value "" is not a valid IP address.' in /plugins/system/akgeoip/lib/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php:98 Stack trace: #0 /plugins/system/akgeoip/lib/vendor/geoip2/geoip2/src/GeoIp2/Database/Reader.php(130): MaxMind\Db\Reader->get('') #1 /plugins/system/akgeoip/lib/vendor/geoip2/geoip2/src/GeoIp2/Database/Reader.php(91): GeoIp2\Database\Reader->modelFor('Country', '') #2 /plugins/system/akgeoip/lib/akgeoip.php(49): GeoIp2\Database\Reader->country('') #3 /plugins/system/akgeoip/lib/akgeoip.php(73): AkeebaGeoipProvider->getCountryRecord('') #4 /plugins/system/admintools/admintools/pro.php(2484): AkeebaGeoipProvider->getCountryCode('') #5 /plugins/system/admintools/admintools/pro.php(143): plgSystemAdmintoolsPro->geoBlocking() #6 [internal function]: plgS in /plugins/system/akgeoip/lib/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php on line 98
It looks like his browser is not providing accurate IP info, but I don't know why that's breaking the script. It might qualify as a security fault, but I would think Admintools would just block him.
He can access whatismyipaddress.com and it will show a valid IP for him, although the domain of the server suggests it is a proxy server.
I tried disabling the Geo IP plug in and re-enabling it, but neither solved the issue.
Are there any ideas on what's causing this fatal error?