Jump to content

Geolocation error after update IPS 4.4.5


aXenDev

Recommended Posts

Posted

Hey,
I am updating my forum for IPS 4.4.5.
I have a problem with the server table: 

I have geolocation errors:
"BadFunctionCallException::0"

#0 /home/1shot2kill.pl/public_html/applications/serverlist/sources/Library/Library.php(168): IPS\_GeoLocation::getByIp('145.239.16.78')
#1 /home/1shot2kill.pl/public_html/applications/serverlist/tasks/serverListUpdate.php(43): IPS\serverlist\_Library::storeData()
#2 /home/1shot2kill.pl/public_html/system/Task/Task.php(255): IPS\serverlist\tasks\_serverListUpdate->execute()
#3 /home/1shot2kill.pl/public_html/system/Task/Task.php(224): IPS\_Task->run()
#4 /home/1shot2kill.pl/public_html/applications/core/interface/task/task.php(62): IPS\_Task->runAndLog()
#5 {main}

The code mentioned in applications/serverlist/sources/Library/Library.php:

'serverLocation'	=> self::encodeJson((array) \IPS\GeoLocation::getByIp(filter_var($results['gq_address'], FILTER_VALIDATE_IP) ? $results['gq_address'] : gethostbyname($results['gq_address']))),

Something has changed after the update? Where can I find these changes for developers?
 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...