Code Context $Country_code = '';
if($ip_data && $ip_data['geoplugin_countryCode'] != null) {
$Country_code = $ip_data['geoplugin_countryCode'];
$client = null
$forward = null
$remote = '52.15.78.119'
$ip = '52.15.78.119'
$ch = unknown
$ip_data_in = '{
"geoplugin_status":429,
"geoplugin_message": "Blacklisted due to sending too many requests to geoplugin.net. Consider whitelisting your IP or domain",
"geoplugin_url": "https://www.geoplugin.com/premium/"
}
'
$ip_data = [
'geoplugin_status' => '429',
'geoplugin_message' => 'Blacklisted due to sending too many requests to geoplugin.net. Consider whitelisting your IP or domain',
'geoplugin_url' => 'https://www.geoplugin.com/premium/'
]
$Country_code = ''
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 94
App\Controller\CatalogsController::initialize() - APP/Controller/CatalogsController.php, line 22
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 273
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96