-
Notifications
You must be signed in to change notification settings - Fork 291
Closed
Description
Hi,
We updated the latest version of GeoIP2 package, we are using PHP 8 and we got this error from package
Deprecated: Return type of GeoIp2\Model\AbstractModel::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/geoip2/geoip2/src/Model/AbstractModel.php on line 63
for the older version if we pass the IP address as local IPs like 192.168.1.2 the return was blank but for the latest version it is giving fatal error
Fatal error: Uncaught GeoIp2\Exception\AddressNotFoundException: The address 192.168.1.8 is not in the database
Can you please check with this?
Metadata
Metadata
Assignees
Labels
No labels