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.232.133.141'
$http_response_header = array(
(int) 0 => 'HTTP/1.1 503 Service Temporarily Unavailable',
(int) 1 => 'Server: nginx',
(int) 2 => 'Date: Sat, 16 Jan 2021 08:23:49 GMT',
(int) 3 => 'Content-Type: text/html',
(int) 4 => 'Content-Length: 356',
(int) 5 => 'Connection: close',
(int) 6 => 'ETag: "5809539e-164"'
)
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