( ! ) 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 phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Model/AbstractModel.php on line 58
Call Stack
#TimeMemoryFunctionLocation
10.0001440544{main}( ).../index.php:0
20.0051579248GeoIp2\Database\Reader->country( $ipAddress = '3.147.62.99' ).../index.php:7
30.0051579248GeoIp2\Database\Reader->modelFor( $class = 'Country', $type = 'Country', $ipAddress = '3.147.62.99' ).../Reader.php:87
40.0117584624Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Model\\Country' ).../Reader.php:198
50.0118584576Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Model/Country.php' ).../ClassLoader.php:301
60.0118584856include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Model/Country.php ).../ClassLoader.php:412
70.0118584856Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Model\\AbstractModel' ).../Country.php:35
80.0118584968Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Model/AbstractModel.php' ).../ClassLoader.php:301
90.0118585240include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Model/AbstractModel.php ).../ClassLoader.php:412

( ! ) 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 phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Record/AbstractRecord.php on line 56
Call Stack
#TimeMemoryFunctionLocation
10.0001440544{main}( ).../index.php:0
20.0051579248GeoIp2\Database\Reader->country( $ipAddress = '3.147.62.99' ).../index.php:7
30.0051579248GeoIp2\Database\Reader->modelFor( $class = 'Country', $type = 'Country', $ipAddress = '3.147.62.99' ).../Reader.php:87
40.0119585224GeoIp2\Model\Country->__construct( $raw = ['continent' => ['code' => 'NA', 'geoname_id' => 6255149, 'names' => [...]], 'country' => ['geoname_id' => 6252001, 'iso_code' => 'US', 'names' => [...]], 'registered_country' => ['geoname_id' => 6252001, 'iso_code' => 'US', 'names' => [...]], 'traits' => ['ip_address' => '3.147.62.99']], $locales = [0 => 'en'] ).../Reader.php:198
50.0119585224Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Record\\Continent' ).../Country.php:52
60.0119585208Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Record/Continent.php' ).../ClassLoader.php:301
70.0119586128include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Record/Continent.php ).../ClassLoader.php:412
80.0119586128Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Record\\AbstractPlaceRecord' ).../Continent.php:25
90.0120586256Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Record/AbstractPlaceRecord.php' ).../ClassLoader.php:301
100.0120586536include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Record/AbstractPlaceRecord.php ).../ClassLoader.php:412
110.0120586536Composer\Autoload\ClassLoader->loadClass( $class = 'GeoIp2\\Record\\AbstractRecord' ).../AbstractPlaceRecord.php:5
120.0120586664Composer\Autoload\includeFile( $file = 'phar:///www/lnmpp.aite.xyz/geoip.xqd/vendor/composer/../../src/Record/AbstractRecord.php' ).../ClassLoader.php:301
130.0120586936include( 'phar:///www/lnmpp.aite.xyz/geoip.xqd/src/Record/AbstractRecord.php ).../ClassLoader.php:412
Linux nginx mysql  pgsql php-fpm
官方Q群:38181604
联系作者:点击这里给我发消息
邮件支持:xiaoqidun@qq.com