Code Context $this->ipAddress = $ip_address;
$str = file_get_contents("http://api.ipinfodb.com/v3/ip-city/?key=" . $this->ipinfo_key . "&format=json&ip=" . $this->ipAddress);
$ip_address = '3.80.4.147'
$http_response_header = array(
(int) 0 => 'HTTP/1.1 503 Service Unavailable',
(int) 1 => 'Date: Thu, 07 Dec 2023 00:40:38 GMT',
(int) 2 => 'Content-Type: text/html; charset=utf-8',
(int) 3 => 'Connection: close',
(int) 4 => 'CF-Cache-Status: DYNAMIC',
(int) 5 => 'Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Ac%2Fvg8Xw0%2B0VEX22GTwyTwnqhFWWwmj0k998C%2FWH164AjHKldp86vmWcezVoFF9Begg55BCPXlER8g%2BjsgzituF61pHBOcn6LPGBmn1aFqHRFBLF7LhpQcsadcuOavOg9gDk"}],"group":"cf-nel","max_age":604800}',
(int) 6 => 'NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
(int) 7 => 'Server: cloudflare',
(int) 8 => 'CF-RAY: 8318b7e55990493f-SIN',
(int) 9 => 'alt-svc: h3=":443"; ma=86400'
)
file_get_contents - [internal], line ??
GeographyComponent::initLocationData() - APP/Controller/Component/GeographyComponent.php, line 67
GeographyComponent::initialize() - APP/Controller/Component/GeographyComponent.php, line 54
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 130
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 246
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 670
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 183
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 92