Code Context
#klaida negauna duomenu
$details = json_decode(file_get_contents("https://ipinfo.io/{$ip}/json"));
$controller = 'shops'
$newCart = false
$ip = '18.97.9.168'
$http_response_header = array(
(int) 0 => 'HTTP/1.0 429 Too Many Requests',
(int) 1 => 'access-control-allow-origin: *',
(int) 2 => 'x-frame-options: SAMEORIGIN',
(int) 3 => 'x-xss-protection: 1; mode=block',
(int) 4 => 'x-content-type-options: nosniff',
(int) 5 => 'referrer-policy: strict-origin-when-cross-origin',
(int) 6 => 'content-type: application/json; charset=utf-8',
(int) 7 => 'Content-Length: 210',
(int) 8 => 'date: Thu, 15 Jan 2026 19:54:45 GMT',
(int) 9 => 'vary: accept-encoding',
(int) 10 => 'via: 1.1 google',
(int) 11 => 'strict-transport-security: max-age=2592000; includeSubDomains',
(int) 12 => 'Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'
)
file_get_contents - [internal], line ??
AppController::setVars() - APP/Controller/AppController.php, line 151
AppController::beforeFilter() - APP/Controller/AppController.php, line 215
ShopsController::beforeFilter() - APP/Controller/ShopsController.php, line 314
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107