Closed andreypopov closed 11 months ago
Hi andrey,
We have tested our library in PHP 8.2.6 and 8.3.0 but unable to reproduce the issue. Can you please provide us:
Just capture errors like:
<php
set_error_handler(['ErrorHandlerLaravel', 'captureNormal'], E_ALL & ~(E_STRICT));
class ErrorHandlerLaravel
{
public static function captureNormal($number, $message, $file, $line)
{
$error = [
'type' => $number,
'message' => $message,
'file' => $file,
'line' => $line,
];
dump($error);
}
}
\Ip2location\IP2LocationLaravel\Facade\IP2LocationLaravel::get(request()->ip());
Hi andrey,
Thanks for the reply, we will check on this deprecation message and your PR.
Please, fix this one:
Deprecated:Creation of dynamic property Ip2location\IP2LocationLaravel\IP2LocationLaravel::$db is deprecated(8192) File: /vendor/ip2location/ip2location-laravel/src/IP2LocationLaravel.php:11 $this->db = new \IP2Location\Database($this->getDatabasePath(), \IP2Location\Database::FILE_IO);