private static function getASNData(string $ip): array { try { static $reader = null; if ($reader === null) { $dbPath = JPATH_ADMINISTRATOR . '/components/com_jshieldpro/assets/geoip/GeoLite2-ASN.mmdb'; if (!file_exists($dbPath)) { return []; } $reader = new \GeoIp2\Database\Reader($dbPath); } $record = $reader->asn($ip); return [ 'asn' => 'AS' . ($record->autonomousSystemNumber ?? ''), 'provider' => $record->autonomousSystemOrganization ?? '' ]; } catch (\Throwable $e) { return []; } } Erro: 0 Class "Jshieldpro\Administrator\Service\GeoIPService" not found
Oops!

Class "Jshieldpro\Administrator\Service\GeoIPService" not found

Ocorreu um erro ao processar o seu pedido.