Code Context $ip_data = str_replace('"', '"', $ip_data); // for PHP 5.2 see stackoverflow.com/questions/3110487/
if ($ip_data && $ip_data['geoplugin_countryName'] != null) {
$client = null
$forward = null
$remote = '216.73.216.170'
$country = ''
$ip = '216.73.216.170'
$ch = unknown
$ip_data_in = '{
"geoplugin_status":403,
"geoplugin_message": "geoPlugin API is no longer available for free use. To continue access, please upgrade to a paid plan",
"geoplugin_url": "https://www.geoplugin.com/subscription"
}
'
$ip_data = array(
'geoplugin_status' => '403',
'geoplugin_message' => 'geoPlugin API is no longer available for free use. To continue access, please upgrade to a paid plan',
'geoplugin_url' => 'https://www.geoplugin.com/subscription'
)AppController::ip_visitor_country() - APP/Controller/AppController.php, line 276
AppController::beforeFilter() - APP/Controller/AppController.php, line 195
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 96