• Resolved horgster

    (@horgster)


    Hi!

    When running my wordpress site in Debug mode, I get these deprecated errors. Can you please fix them?

    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?www/wp-content/plugins/wp-statistics/includes/vendor/geoip2/geoip2/src/Model/AbstractModel.php?on line?63

    Deprecated: Return type of GeoIp2\Record\AbstractRecord::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in?www/wp-content/plugins/wp-statistics/includes/vendor/geoip2/geoip2/src/Record/AbstractRecord.php?on line?57

    Running PHP 8.1

    Thanks!
    Best Regards
    Horgster

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated errors’ is closed to new replies.