Notice (8): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 365]Code Context
if ( $result["status"] == 'success' ) {
$addr = '3.233.219.103'
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$response = object(Cake\Http\Client\Response) {
[protected] code => (int) 429
[protected] cookies => null
[protected] reasonPhrase => 'Too Many Requests'
[protected] _xml => null
[protected] _json => null
[protected] _exposedProperties => [
'cookies' => '_getCookies',
'body' => '_getBody',
'code' => 'code',
'json' => '_getJson',
'xml' => '_getXml',
'headers' => '_getHeaders'
]
[protected] _deprecatedMagicProperties => [
'cookies' => 'getCookies()',
'body' => 'getStringBody()',
'json' => 'getJson()',
'xml' => 'getXml()',
'headers' => 'getHeaders()'
]
[protected] _cookies => []
[protected] _body => null
[protected] headers => [
'Date' => [
[maximum depth reached]
],
'Content-Length' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'X-Ttl' => [
[maximum depth reached]
],
'X-Rl' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'date' => 'Date',
'content-length' => 'Content-Length',
'access-control-allow-origin' => 'Access-Control-Allow-Origin',
'x-ttl' => 'X-Ttl',
'x-rl' => 'X-Rl'
]
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$result = null
App\Controller\AppController::setCountryIpapi() - APP/Controller/AppController.php, line 365
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 269
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Notice (8): Undefined index: isoName [APP/Controller/AppController.php, line 399]Code Context $region_code = $result["location"]["localityInfo"]["administrative"][2]["isoCode"];
$region_name = $result["location"]["localityInfo"]["administrative"][2]["isoName"];
} else {
$addr = '3.233.219.103'
$apikey = 'bdc_0fcd59078a864fa2a7d8155af8f4ee58'
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$response = object(Cake\Http\Client\Response) {
[protected] code => (int) 200
[protected] cookies => null
[protected] reasonPhrase => 'OK'
[protected] _xml => null
[protected] _json => [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
[maximum depth reached]
],
'location' => [
[maximum depth reached]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
[maximum depth reached]
]
]
[protected] _exposedProperties => [
'cookies' => '_getCookies',
'body' => '_getBody',
'code' => 'code',
'json' => '_getJson',
'xml' => '_getXml',
'headers' => '_getHeaders'
]
[protected] _deprecatedMagicProperties => [
'cookies' => 'getCookies()',
'body' => 'getStringBody()',
'json' => 'getJson()',
'xml' => 'getXml()',
'headers' => 'getHeaders()'
]
[protected] _cookies => []
[protected] _body => null
[protected] headers => [
'Date' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
],
'Content-Length' => [
[maximum depth reached]
],
'Connection' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'X-Response-Time-ms' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'date' => 'Date',
'content-type' => 'Content-Type',
'content-length' => 'Content-Length',
'connection' => 'Connection',
'access-control-allow-origin' => 'Access-Control-Allow-Origin',
'x-response-time-ms' => 'X-Response-Time-ms'
]
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$result = [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
'isoAlpha2' => 'GH',
'isoAlpha3' => 'GHA',
'm49Code' => (int) 288,
'name' => 'Ghana',
'isoName' => 'Ghana',
'isoNameFull' => 'the Republic of Ghana',
'isoAdminLanguages' => [
(int) 0 => [
[maximum depth reached]
]
],
'unRegion' => 'Sub-Saharan Africa/Western Africa',
'currency' => [
'numericCode' => (int) 936,
'code' => 'GHS',
'name' => 'Ghana Cedi',
'minorUnits' => (int) 2
],
'wbRegion' => [
'id' => 'SSF',
'iso2Code' => 'ZG',
'value' => 'Sub-Saharan Africa'
],
'wbIncomeLevel' => [
'id' => 'LMC',
'iso2Code' => 'XN',
'value' => 'Lower middle income'
],
'callingCode' => '233',
'countryFlagEmoji' => '馃嚞馃嚟',
'wikidataId' => 'Q117',
'geonameId' => (int) 2300660
],
'location' => [
'continent' => '脕frica',
'continentCode' => 'AF',
'principalSubdivision' => 'Regi贸n Gran Acra',
'isoPrincipalSubdivision' => 'Greater Accra',
'isoPrincipalSubdivisionCode' => 'GH-AA',
'city' => 'Acra',
'localityName' => 'Okaikwei North Municipal District',
'postcode' => '',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'plusCode' => '6CQXJQ9J+X2',
'timeZone' => [
'ianaTimeId' => 'Africa/Accra',
'displayName' => '(UTC+00:00) Ghana Time',
'effectiveTimeZoneFull' => 'Greenwich Mean Time',
'effectiveTimeZoneShort' => 'GMT',
'utcOffsetSeconds' => (int) 0,
'utcOffset' => '+00',
'isDaylightSavingTime' => false,
'localTime' => '2023-06-10T03:36:07.6465860'
],
'localityInfo' => [
'LikelyLand' => true,
'administrative' => [
[maximum depth reached]
],
'informative' => [
[maximum depth reached]
]
]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
'registry' => 'ARIN',
'registryStatus' => 'assigned',
'registeredCountry' => 'US',
'registeredCountryName' => 'Estados Unidos',
'organisation' => 'Amazon Data Services NoVa',
'isReachableGlobally' => true,
'isBogon' => false,
'bgpPrefix' => '3.232.0.0/15',
'bgpPrefixNetworkAddress' => '3.232.0.0',
'bgpPrefixLastAddress' => '3.233.255.255',
'totalAddresses' => (int) 131072,
'carriers' => [
(int) 0 => [
[maximum depth reached]
]
],
'viaCarriers' => [
(int) 0 => [
[maximum depth reached]
]
]
]
]
$geo = [
'country_code' => 'GH',
'country_name' => 'Ghana'
]
$region_code = 'GH-AA'
App\Controller\AppController::setCountryBigdatacloud() - APP/Controller/AppController.php, line 399
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 271
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Notice (8): Undefined index: isoName [APP/Controller/AppController.php, line 410]Code Context //$geo["region_name"] = $geo["location"]["localityInfo"]["administrative"][2]["isoName"];
$geo["region_name"] = trim(preg_replace("/\[[^)]+\]/","", $result["location"]["localityInfo"]["administrative"][2]["isoName"]));
$geo["city"] = $result["location"]["localityName"];
$addr = '3.233.219.103'
$apikey = 'bdc_0fcd59078a864fa2a7d8155af8f4ee58'
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$response = object(Cake\Http\Client\Response) {
[protected] code => (int) 200
[protected] cookies => null
[protected] reasonPhrase => 'OK'
[protected] _xml => null
[protected] _json => [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
[maximum depth reached]
],
'location' => [
[maximum depth reached]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
[maximum depth reached]
]
]
[protected] _exposedProperties => [
'cookies' => '_getCookies',
'body' => '_getBody',
'code' => 'code',
'json' => '_getJson',
'xml' => '_getXml',
'headers' => '_getHeaders'
]
[protected] _deprecatedMagicProperties => [
'cookies' => 'getCookies()',
'body' => 'getStringBody()',
'json' => 'getJson()',
'xml' => 'getXml()',
'headers' => 'getHeaders()'
]
[protected] _cookies => []
[protected] _body => null
[protected] headers => [
'Date' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
],
'Content-Length' => [
[maximum depth reached]
],
'Connection' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'X-Response-Time-ms' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'date' => 'Date',
'content-type' => 'Content-Type',
'content-length' => 'Content-Length',
'connection' => 'Connection',
'access-control-allow-origin' => 'Access-Control-Allow-Origin',
'x-response-time-ms' => 'X-Response-Time-ms'
]
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$result = [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
'isoAlpha2' => 'GH',
'isoAlpha3' => 'GHA',
'm49Code' => (int) 288,
'name' => 'Ghana',
'isoName' => 'Ghana',
'isoNameFull' => 'the Republic of Ghana',
'isoAdminLanguages' => [
(int) 0 => [
[maximum depth reached]
]
],
'unRegion' => 'Sub-Saharan Africa/Western Africa',
'currency' => [
'numericCode' => (int) 936,
'code' => 'GHS',
'name' => 'Ghana Cedi',
'minorUnits' => (int) 2
],
'wbRegion' => [
'id' => 'SSF',
'iso2Code' => 'ZG',
'value' => 'Sub-Saharan Africa'
],
'wbIncomeLevel' => [
'id' => 'LMC',
'iso2Code' => 'XN',
'value' => 'Lower middle income'
],
'callingCode' => '233',
'countryFlagEmoji' => '馃嚞馃嚟',
'wikidataId' => 'Q117',
'geonameId' => (int) 2300660
],
'location' => [
'continent' => '脕frica',
'continentCode' => 'AF',
'principalSubdivision' => 'Regi贸n Gran Acra',
'isoPrincipalSubdivision' => 'Greater Accra',
'isoPrincipalSubdivisionCode' => 'GH-AA',
'city' => 'Acra',
'localityName' => 'Okaikwei North Municipal District',
'postcode' => '',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'plusCode' => '6CQXJQ9J+X2',
'timeZone' => [
'ianaTimeId' => 'Africa/Accra',
'displayName' => '(UTC+00:00) Ghana Time',
'effectiveTimeZoneFull' => 'Greenwich Mean Time',
'effectiveTimeZoneShort' => 'GMT',
'utcOffsetSeconds' => (int) 0,
'utcOffset' => '+00',
'isDaylightSavingTime' => false,
'localTime' => '2023-06-10T03:36:07.6465860'
],
'localityInfo' => [
'LikelyLand' => true,
'administrative' => [
[maximum depth reached]
],
'informative' => [
[maximum depth reached]
]
]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
'registry' => 'ARIN',
'registryStatus' => 'assigned',
'registeredCountry' => 'US',
'registeredCountryName' => 'Estados Unidos',
'organisation' => 'Amazon Data Services NoVa',
'isReachableGlobally' => true,
'isBogon' => false,
'bgpPrefix' => '3.232.0.0/15',
'bgpPrefixNetworkAddress' => '3.232.0.0',
'bgpPrefixLastAddress' => '3.233.255.255',
'totalAddresses' => (int) 131072,
'carriers' => [
(int) 0 => [
[maximum depth reached]
]
],
'viaCarriers' => [
(int) 0 => [
[maximum depth reached]
]
]
]
]
$geo = [
'country_code' => 'GH',
'country_name' => 'Ghana',
'region_code_array' => [
(int) 0 => 'GH',
(int) 1 => 'AA'
],
'region_code' => 'AA'
]
$region_code = 'GH-AA'
$region_name = null
App\Controller\AppController::setCountryBigdatacloud() - APP/Controller/AppController.php, line 410
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 271
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Notice (8): Undefined index: continents [APP/Controller/AppController.php, line 414]Code Context $geo["longitude"] = $result["location"]["longitude"];
$geo["continent_id"] = $result["country"]["continents"][0]["continentCode"];
$geo["continent_name"] = $result["country"]["continents"][0]["continent"];
$addr = '3.233.219.103'
$apikey = 'bdc_0fcd59078a864fa2a7d8155af8f4ee58'
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$response = object(Cake\Http\Client\Response) {
[protected] code => (int) 200
[protected] cookies => null
[protected] reasonPhrase => 'OK'
[protected] _xml => null
[protected] _json => [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
[maximum depth reached]
],
'location' => [
[maximum depth reached]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
[maximum depth reached]
]
]
[protected] _exposedProperties => [
'cookies' => '_getCookies',
'body' => '_getBody',
'code' => 'code',
'json' => '_getJson',
'xml' => '_getXml',
'headers' => '_getHeaders'
]
[protected] _deprecatedMagicProperties => [
'cookies' => 'getCookies()',
'body' => 'getStringBody()',
'json' => 'getJson()',
'xml' => 'getXml()',
'headers' => 'getHeaders()'
]
[protected] _cookies => []
[protected] _body => null
[protected] headers => [
'Date' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
],
'Content-Length' => [
[maximum depth reached]
],
'Connection' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'X-Response-Time-ms' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'date' => 'Date',
'content-type' => 'Content-Type',
'content-length' => 'Content-Length',
'connection' => 'Connection',
'access-control-allow-origin' => 'Access-Control-Allow-Origin',
'x-response-time-ms' => 'X-Response-Time-ms'
]
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$result = [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
'isoAlpha2' => 'GH',
'isoAlpha3' => 'GHA',
'm49Code' => (int) 288,
'name' => 'Ghana',
'isoName' => 'Ghana',
'isoNameFull' => 'the Republic of Ghana',
'isoAdminLanguages' => [
(int) 0 => [
[maximum depth reached]
]
],
'unRegion' => 'Sub-Saharan Africa/Western Africa',
'currency' => [
'numericCode' => (int) 936,
'code' => 'GHS',
'name' => 'Ghana Cedi',
'minorUnits' => (int) 2
],
'wbRegion' => [
'id' => 'SSF',
'iso2Code' => 'ZG',
'value' => 'Sub-Saharan Africa'
],
'wbIncomeLevel' => [
'id' => 'LMC',
'iso2Code' => 'XN',
'value' => 'Lower middle income'
],
'callingCode' => '233',
'countryFlagEmoji' => '馃嚞馃嚟',
'wikidataId' => 'Q117',
'geonameId' => (int) 2300660
],
'location' => [
'continent' => '脕frica',
'continentCode' => 'AF',
'principalSubdivision' => 'Regi贸n Gran Acra',
'isoPrincipalSubdivision' => 'Greater Accra',
'isoPrincipalSubdivisionCode' => 'GH-AA',
'city' => 'Acra',
'localityName' => 'Okaikwei North Municipal District',
'postcode' => '',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'plusCode' => '6CQXJQ9J+X2',
'timeZone' => [
'ianaTimeId' => 'Africa/Accra',
'displayName' => '(UTC+00:00) Ghana Time',
'effectiveTimeZoneFull' => 'Greenwich Mean Time',
'effectiveTimeZoneShort' => 'GMT',
'utcOffsetSeconds' => (int) 0,
'utcOffset' => '+00',
'isDaylightSavingTime' => false,
'localTime' => '2023-06-10T03:36:07.6465860'
],
'localityInfo' => [
'LikelyLand' => true,
'administrative' => [
[maximum depth reached]
],
'informative' => [
[maximum depth reached]
]
]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
'registry' => 'ARIN',
'registryStatus' => 'assigned',
'registeredCountry' => 'US',
'registeredCountryName' => 'Estados Unidos',
'organisation' => 'Amazon Data Services NoVa',
'isReachableGlobally' => true,
'isBogon' => false,
'bgpPrefix' => '3.232.0.0/15',
'bgpPrefixNetworkAddress' => '3.232.0.0',
'bgpPrefixLastAddress' => '3.233.255.255',
'totalAddresses' => (int) 131072,
'carriers' => [
(int) 0 => [
[maximum depth reached]
]
],
'viaCarriers' => [
(int) 0 => [
[maximum depth reached]
]
]
]
]
$geo = [
'country_code' => 'GH',
'country_name' => 'Ghana',
'region_code_array' => [
(int) 0 => 'GH',
(int) 1 => 'AA'
],
'region_code' => 'AA',
'region_name' => '',
'city' => 'Okaikwei North Municipal District',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22
]
$region_code = 'GH-AA'
$region_name = null
App\Controller\AppController::setCountryBigdatacloud() - APP/Controller/AppController.php, line 414
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 271
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Notice (8): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 414]Code Context $geo["longitude"] = $result["location"]["longitude"];
$geo["continent_id"] = $result["country"]["continents"][0]["continentCode"];
$geo["continent_name"] = $result["country"]["continents"][0]["continent"];
$addr = '3.233.219.103'
$apikey = 'bdc_0fcd59078a864fa2a7d8155af8f4ee58'
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$response = object(Cake\Http\Client\Response) {
[protected] code => (int) 200
[protected] cookies => null
[protected] reasonPhrase => 'OK'
[protected] _xml => null
[protected] _json => [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
[maximum depth reached]
],
'location' => [
[maximum depth reached]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
[maximum depth reached]
]
]
[protected] _exposedProperties => [
'cookies' => '_getCookies',
'body' => '_getBody',
'code' => 'code',
'json' => '_getJson',
'xml' => '_getXml',
'headers' => '_getHeaders'
]
[protected] _deprecatedMagicProperties => [
'cookies' => 'getCookies()',
'body' => 'getStringBody()',
'json' => 'getJson()',
'xml' => 'getXml()',
'headers' => 'getHeaders()'
]
[protected] _cookies => []
[protected] _body => null
[protected] headers => [
'Date' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
],
'Content-Length' => [
[maximum depth reached]
],
'Connection' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'X-Response-Time-ms' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'date' => 'Date',
'content-type' => 'Content-Type',
'content-length' => 'Content-Length',
'connection' => 'Connection',
'access-control-allow-origin' => 'Access-Control-Allow-Origin',
'x-response-time-ms' => 'X-Response-Time-ms'
]
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$result = [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
'isoAlpha2' => 'GH',
'isoAlpha3' => 'GHA',
'm49Code' => (int) 288,
'name' => 'Ghana',
'isoName' => 'Ghana',
'isoNameFull' => 'the Republic of Ghana',
'isoAdminLanguages' => [
(int) 0 => [
[maximum depth reached]
]
],
'unRegion' => 'Sub-Saharan Africa/Western Africa',
'currency' => [
'numericCode' => (int) 936,
'code' => 'GHS',
'name' => 'Ghana Cedi',
'minorUnits' => (int) 2
],
'wbRegion' => [
'id' => 'SSF',
'iso2Code' => 'ZG',
'value' => 'Sub-Saharan Africa'
],
'wbIncomeLevel' => [
'id' => 'LMC',
'iso2Code' => 'XN',
'value' => 'Lower middle income'
],
'callingCode' => '233',
'countryFlagEmoji' => '馃嚞馃嚟',
'wikidataId' => 'Q117',
'geonameId' => (int) 2300660
],
'location' => [
'continent' => '脕frica',
'continentCode' => 'AF',
'principalSubdivision' => 'Regi贸n Gran Acra',
'isoPrincipalSubdivision' => 'Greater Accra',
'isoPrincipalSubdivisionCode' => 'GH-AA',
'city' => 'Acra',
'localityName' => 'Okaikwei North Municipal District',
'postcode' => '',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'plusCode' => '6CQXJQ9J+X2',
'timeZone' => [
'ianaTimeId' => 'Africa/Accra',
'displayName' => '(UTC+00:00) Ghana Time',
'effectiveTimeZoneFull' => 'Greenwich Mean Time',
'effectiveTimeZoneShort' => 'GMT',
'utcOffsetSeconds' => (int) 0,
'utcOffset' => '+00',
'isDaylightSavingTime' => false,
'localTime' => '2023-06-10T03:36:07.6465860'
],
'localityInfo' => [
'LikelyLand' => true,
'administrative' => [
[maximum depth reached]
],
'informative' => [
[maximum depth reached]
]
]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
'registry' => 'ARIN',
'registryStatus' => 'assigned',
'registeredCountry' => 'US',
'registeredCountryName' => 'Estados Unidos',
'organisation' => 'Amazon Data Services NoVa',
'isReachableGlobally' => true,
'isBogon' => false,
'bgpPrefix' => '3.232.0.0/15',
'bgpPrefixNetworkAddress' => '3.232.0.0',
'bgpPrefixLastAddress' => '3.233.255.255',
'totalAddresses' => (int) 131072,
'carriers' => [
(int) 0 => [
[maximum depth reached]
]
],
'viaCarriers' => [
(int) 0 => [
[maximum depth reached]
]
]
]
]
$geo = [
'country_code' => 'GH',
'country_name' => 'Ghana',
'region_code_array' => [
(int) 0 => 'GH',
(int) 1 => 'AA'
],
'region_code' => 'AA',
'region_name' => '',
'city' => 'Okaikwei North Municipal District',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22
]
$region_code = 'GH-AA'
$region_name = null
App\Controller\AppController::setCountryBigdatacloud() - APP/Controller/AppController.php, line 414
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 271
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Notice (8): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 414]Code Context $geo["longitude"] = $result["location"]["longitude"];
$geo["continent_id"] = $result["country"]["continents"][0]["continentCode"];
$geo["continent_name"] = $result["country"]["continents"][0]["continent"];
$addr = '3.233.219.103'
$apikey = 'bdc_0fcd59078a864fa2a7d8155af8f4ee58'
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$response = object(Cake\Http\Client\Response) {
[protected] code => (int) 200
[protected] cookies => null
[protected] reasonPhrase => 'OK'
[protected] _xml => null
[protected] _json => [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
[maximum depth reached]
],
'location' => [
[maximum depth reached]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
[maximum depth reached]
]
]
[protected] _exposedProperties => [
'cookies' => '_getCookies',
'body' => '_getBody',
'code' => 'code',
'json' => '_getJson',
'xml' => '_getXml',
'headers' => '_getHeaders'
]
[protected] _deprecatedMagicProperties => [
'cookies' => 'getCookies()',
'body' => 'getStringBody()',
'json' => 'getJson()',
'xml' => 'getXml()',
'headers' => 'getHeaders()'
]
[protected] _cookies => []
[protected] _body => null
[protected] headers => [
'Date' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
],
'Content-Length' => [
[maximum depth reached]
],
'Connection' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'X-Response-Time-ms' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'date' => 'Date',
'content-type' => 'Content-Type',
'content-length' => 'Content-Length',
'connection' => 'Connection',
'access-control-allow-origin' => 'Access-Control-Allow-Origin',
'x-response-time-ms' => 'X-Response-Time-ms'
]
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$result = [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
'isoAlpha2' => 'GH',
'isoAlpha3' => 'GHA',
'm49Code' => (int) 288,
'name' => 'Ghana',
'isoName' => 'Ghana',
'isoNameFull' => 'the Republic of Ghana',
'isoAdminLanguages' => [
(int) 0 => [
[maximum depth reached]
]
],
'unRegion' => 'Sub-Saharan Africa/Western Africa',
'currency' => [
'numericCode' => (int) 936,
'code' => 'GHS',
'name' => 'Ghana Cedi',
'minorUnits' => (int) 2
],
'wbRegion' => [
'id' => 'SSF',
'iso2Code' => 'ZG',
'value' => 'Sub-Saharan Africa'
],
'wbIncomeLevel' => [
'id' => 'LMC',
'iso2Code' => 'XN',
'value' => 'Lower middle income'
],
'callingCode' => '233',
'countryFlagEmoji' => '馃嚞馃嚟',
'wikidataId' => 'Q117',
'geonameId' => (int) 2300660
],
'location' => [
'continent' => '脕frica',
'continentCode' => 'AF',
'principalSubdivision' => 'Regi贸n Gran Acra',
'isoPrincipalSubdivision' => 'Greater Accra',
'isoPrincipalSubdivisionCode' => 'GH-AA',
'city' => 'Acra',
'localityName' => 'Okaikwei North Municipal District',
'postcode' => '',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'plusCode' => '6CQXJQ9J+X2',
'timeZone' => [
'ianaTimeId' => 'Africa/Accra',
'displayName' => '(UTC+00:00) Ghana Time',
'effectiveTimeZoneFull' => 'Greenwich Mean Time',
'effectiveTimeZoneShort' => 'GMT',
'utcOffsetSeconds' => (int) 0,
'utcOffset' => '+00',
'isDaylightSavingTime' => false,
'localTime' => '2023-06-10T03:36:07.6465860'
],
'localityInfo' => [
'LikelyLand' => true,
'administrative' => [
[maximum depth reached]
],
'informative' => [
[maximum depth reached]
]
]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
'registry' => 'ARIN',
'registryStatus' => 'assigned',
'registeredCountry' => 'US',
'registeredCountryName' => 'Estados Unidos',
'organisation' => 'Amazon Data Services NoVa',
'isReachableGlobally' => true,
'isBogon' => false,
'bgpPrefix' => '3.232.0.0/15',
'bgpPrefixNetworkAddress' => '3.232.0.0',
'bgpPrefixLastAddress' => '3.233.255.255',
'totalAddresses' => (int) 131072,
'carriers' => [
(int) 0 => [
[maximum depth reached]
]
],
'viaCarriers' => [
(int) 0 => [
[maximum depth reached]
]
]
]
]
$geo = [
'country_code' => 'GH',
'country_name' => 'Ghana',
'region_code_array' => [
(int) 0 => 'GH',
(int) 1 => 'AA'
],
'region_code' => 'AA',
'region_name' => '',
'city' => 'Okaikwei North Municipal District',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22
]
$region_code = 'GH-AA'
$region_name = null
App\Controller\AppController::setCountryBigdatacloud() - APP/Controller/AppController.php, line 414
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 271
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Notice (8): Undefined index: continents [APP/Controller/AppController.php, line 415]Code Context $geo["continent_id"] = $result["country"]["continents"][0]["continentCode"];
$geo["continent_name"] = $result["country"]["continents"][0]["continent"];
$addr = '3.233.219.103'
$apikey = 'bdc_0fcd59078a864fa2a7d8155af8f4ee58'
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$response = object(Cake\Http\Client\Response) {
[protected] code => (int) 200
[protected] cookies => null
[protected] reasonPhrase => 'OK'
[protected] _xml => null
[protected] _json => [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
[maximum depth reached]
],
'location' => [
[maximum depth reached]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
[maximum depth reached]
]
]
[protected] _exposedProperties => [
'cookies' => '_getCookies',
'body' => '_getBody',
'code' => 'code',
'json' => '_getJson',
'xml' => '_getXml',
'headers' => '_getHeaders'
]
[protected] _deprecatedMagicProperties => [
'cookies' => 'getCookies()',
'body' => 'getStringBody()',
'json' => 'getJson()',
'xml' => 'getXml()',
'headers' => 'getHeaders()'
]
[protected] _cookies => []
[protected] _body => null
[protected] headers => [
'Date' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
],
'Content-Length' => [
[maximum depth reached]
],
'Connection' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'X-Response-Time-ms' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'date' => 'Date',
'content-type' => 'Content-Type',
'content-length' => 'Content-Length',
'connection' => 'Connection',
'access-control-allow-origin' => 'Access-Control-Allow-Origin',
'x-response-time-ms' => 'X-Response-Time-ms'
]
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$result = [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
'isoAlpha2' => 'GH',
'isoAlpha3' => 'GHA',
'm49Code' => (int) 288,
'name' => 'Ghana',
'isoName' => 'Ghana',
'isoNameFull' => 'the Republic of Ghana',
'isoAdminLanguages' => [
(int) 0 => [
[maximum depth reached]
]
],
'unRegion' => 'Sub-Saharan Africa/Western Africa',
'currency' => [
'numericCode' => (int) 936,
'code' => 'GHS',
'name' => 'Ghana Cedi',
'minorUnits' => (int) 2
],
'wbRegion' => [
'id' => 'SSF',
'iso2Code' => 'ZG',
'value' => 'Sub-Saharan Africa'
],
'wbIncomeLevel' => [
'id' => 'LMC',
'iso2Code' => 'XN',
'value' => 'Lower middle income'
],
'callingCode' => '233',
'countryFlagEmoji' => '馃嚞馃嚟',
'wikidataId' => 'Q117',
'geonameId' => (int) 2300660
],
'location' => [
'continent' => '脕frica',
'continentCode' => 'AF',
'principalSubdivision' => 'Regi贸n Gran Acra',
'isoPrincipalSubdivision' => 'Greater Accra',
'isoPrincipalSubdivisionCode' => 'GH-AA',
'city' => 'Acra',
'localityName' => 'Okaikwei North Municipal District',
'postcode' => '',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'plusCode' => '6CQXJQ9J+X2',
'timeZone' => [
'ianaTimeId' => 'Africa/Accra',
'displayName' => '(UTC+00:00) Ghana Time',
'effectiveTimeZoneFull' => 'Greenwich Mean Time',
'effectiveTimeZoneShort' => 'GMT',
'utcOffsetSeconds' => (int) 0,
'utcOffset' => '+00',
'isDaylightSavingTime' => false,
'localTime' => '2023-06-10T03:36:07.6465860'
],
'localityInfo' => [
'LikelyLand' => true,
'administrative' => [
[maximum depth reached]
],
'informative' => [
[maximum depth reached]
]
]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
'registry' => 'ARIN',
'registryStatus' => 'assigned',
'registeredCountry' => 'US',
'registeredCountryName' => 'Estados Unidos',
'organisation' => 'Amazon Data Services NoVa',
'isReachableGlobally' => true,
'isBogon' => false,
'bgpPrefix' => '3.232.0.0/15',
'bgpPrefixNetworkAddress' => '3.232.0.0',
'bgpPrefixLastAddress' => '3.233.255.255',
'totalAddresses' => (int) 131072,
'carriers' => [
(int) 0 => [
[maximum depth reached]
]
],
'viaCarriers' => [
(int) 0 => [
[maximum depth reached]
]
]
]
]
$geo = [
'country_code' => 'GH',
'country_name' => 'Ghana',
'region_code_array' => [
(int) 0 => 'GH',
(int) 1 => 'AA'
],
'region_code' => 'AA',
'region_name' => '',
'city' => 'Okaikwei North Municipal District',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'continent_id' => null
]
$region_code = 'GH-AA'
$region_name = null
App\Controller\AppController::setCountryBigdatacloud() - APP/Controller/AppController.php, line 415
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 271
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Notice (8): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 415]Code Context $geo["continent_id"] = $result["country"]["continents"][0]["continentCode"];
$geo["continent_name"] = $result["country"]["continents"][0]["continent"];
$addr = '3.233.219.103'
$apikey = 'bdc_0fcd59078a864fa2a7d8155af8f4ee58'
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$response = object(Cake\Http\Client\Response) {
[protected] code => (int) 200
[protected] cookies => null
[protected] reasonPhrase => 'OK'
[protected] _xml => null
[protected] _json => [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
[maximum depth reached]
],
'location' => [
[maximum depth reached]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
[maximum depth reached]
]
]
[protected] _exposedProperties => [
'cookies' => '_getCookies',
'body' => '_getBody',
'code' => 'code',
'json' => '_getJson',
'xml' => '_getXml',
'headers' => '_getHeaders'
]
[protected] _deprecatedMagicProperties => [
'cookies' => 'getCookies()',
'body' => 'getStringBody()',
'json' => 'getJson()',
'xml' => 'getXml()',
'headers' => 'getHeaders()'
]
[protected] _cookies => []
[protected] _body => null
[protected] headers => [
'Date' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
],
'Content-Length' => [
[maximum depth reached]
],
'Connection' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'X-Response-Time-ms' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'date' => 'Date',
'content-type' => 'Content-Type',
'content-length' => 'Content-Length',
'connection' => 'Connection',
'access-control-allow-origin' => 'Access-Control-Allow-Origin',
'x-response-time-ms' => 'X-Response-Time-ms'
]
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$result = [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
'isoAlpha2' => 'GH',
'isoAlpha3' => 'GHA',
'm49Code' => (int) 288,
'name' => 'Ghana',
'isoName' => 'Ghana',
'isoNameFull' => 'the Republic of Ghana',
'isoAdminLanguages' => [
(int) 0 => [
[maximum depth reached]
]
],
'unRegion' => 'Sub-Saharan Africa/Western Africa',
'currency' => [
'numericCode' => (int) 936,
'code' => 'GHS',
'name' => 'Ghana Cedi',
'minorUnits' => (int) 2
],
'wbRegion' => [
'id' => 'SSF',
'iso2Code' => 'ZG',
'value' => 'Sub-Saharan Africa'
],
'wbIncomeLevel' => [
'id' => 'LMC',
'iso2Code' => 'XN',
'value' => 'Lower middle income'
],
'callingCode' => '233',
'countryFlagEmoji' => '馃嚞馃嚟',
'wikidataId' => 'Q117',
'geonameId' => (int) 2300660
],
'location' => [
'continent' => '脕frica',
'continentCode' => 'AF',
'principalSubdivision' => 'Regi贸n Gran Acra',
'isoPrincipalSubdivision' => 'Greater Accra',
'isoPrincipalSubdivisionCode' => 'GH-AA',
'city' => 'Acra',
'localityName' => 'Okaikwei North Municipal District',
'postcode' => '',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'plusCode' => '6CQXJQ9J+X2',
'timeZone' => [
'ianaTimeId' => 'Africa/Accra',
'displayName' => '(UTC+00:00) Ghana Time',
'effectiveTimeZoneFull' => 'Greenwich Mean Time',
'effectiveTimeZoneShort' => 'GMT',
'utcOffsetSeconds' => (int) 0,
'utcOffset' => '+00',
'isDaylightSavingTime' => false,
'localTime' => '2023-06-10T03:36:07.6465860'
],
'localityInfo' => [
'LikelyLand' => true,
'administrative' => [
[maximum depth reached]
],
'informative' => [
[maximum depth reached]
]
]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
'registry' => 'ARIN',
'registryStatus' => 'assigned',
'registeredCountry' => 'US',
'registeredCountryName' => 'Estados Unidos',
'organisation' => 'Amazon Data Services NoVa',
'isReachableGlobally' => true,
'isBogon' => false,
'bgpPrefix' => '3.232.0.0/15',
'bgpPrefixNetworkAddress' => '3.232.0.0',
'bgpPrefixLastAddress' => '3.233.255.255',
'totalAddresses' => (int) 131072,
'carriers' => [
(int) 0 => [
[maximum depth reached]
]
],
'viaCarriers' => [
(int) 0 => [
[maximum depth reached]
]
]
]
]
$geo = [
'country_code' => 'GH',
'country_name' => 'Ghana',
'region_code_array' => [
(int) 0 => 'GH',
(int) 1 => 'AA'
],
'region_code' => 'AA',
'region_name' => '',
'city' => 'Okaikwei North Municipal District',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'continent_id' => null
]
$region_code = 'GH-AA'
$region_name = null
App\Controller\AppController::setCountryBigdatacloud() - APP/Controller/AppController.php, line 415
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 271
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Notice (8): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 415]Code Context $geo["continent_id"] = $result["country"]["continents"][0]["continentCode"];
$geo["continent_name"] = $result["country"]["continents"][0]["continent"];
$addr = '3.233.219.103'
$apikey = 'bdc_0fcd59078a864fa2a7d8155af8f4ee58'
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$response = object(Cake\Http\Client\Response) {
[protected] code => (int) 200
[protected] cookies => null
[protected] reasonPhrase => 'OK'
[protected] _xml => null
[protected] _json => [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
[maximum depth reached]
],
'location' => [
[maximum depth reached]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
[maximum depth reached]
]
]
[protected] _exposedProperties => [
'cookies' => '_getCookies',
'body' => '_getBody',
'code' => 'code',
'json' => '_getJson',
'xml' => '_getXml',
'headers' => '_getHeaders'
]
[protected] _deprecatedMagicProperties => [
'cookies' => 'getCookies()',
'body' => 'getStringBody()',
'json' => 'getJson()',
'xml' => 'getXml()',
'headers' => 'getHeaders()'
]
[protected] _cookies => []
[protected] _body => null
[protected] headers => [
'Date' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
],
'Content-Length' => [
[maximum depth reached]
],
'Connection' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'X-Response-Time-ms' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'date' => 'Date',
'content-type' => 'Content-Type',
'content-length' => 'Content-Length',
'connection' => 'Connection',
'access-control-allow-origin' => 'Access-Control-Allow-Origin',
'x-response-time-ms' => 'X-Response-Time-ms'
]
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$result = [
'ip' => '3.233.219.103',
'localityLanguageRequested' => 'es',
'isReachableGlobally' => true,
'country' => [
'isoAlpha2' => 'GH',
'isoAlpha3' => 'GHA',
'm49Code' => (int) 288,
'name' => 'Ghana',
'isoName' => 'Ghana',
'isoNameFull' => 'the Republic of Ghana',
'isoAdminLanguages' => [
(int) 0 => [
[maximum depth reached]
]
],
'unRegion' => 'Sub-Saharan Africa/Western Africa',
'currency' => [
'numericCode' => (int) 936,
'code' => 'GHS',
'name' => 'Ghana Cedi',
'minorUnits' => (int) 2
],
'wbRegion' => [
'id' => 'SSF',
'iso2Code' => 'ZG',
'value' => 'Sub-Saharan Africa'
],
'wbIncomeLevel' => [
'id' => 'LMC',
'iso2Code' => 'XN',
'value' => 'Lower middle income'
],
'callingCode' => '233',
'countryFlagEmoji' => '馃嚞馃嚟',
'wikidataId' => 'Q117',
'geonameId' => (int) 2300660
],
'location' => [
'continent' => '脕frica',
'continentCode' => 'AF',
'principalSubdivision' => 'Regi贸n Gran Acra',
'isoPrincipalSubdivision' => 'Greater Accra',
'isoPrincipalSubdivisionCode' => 'GH-AA',
'city' => 'Acra',
'localityName' => 'Okaikwei North Municipal District',
'postcode' => '',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'plusCode' => '6CQXJQ9J+X2',
'timeZone' => [
'ianaTimeId' => 'Africa/Accra',
'displayName' => '(UTC+00:00) Ghana Time',
'effectiveTimeZoneFull' => 'Greenwich Mean Time',
'effectiveTimeZoneShort' => 'GMT',
'utcOffsetSeconds' => (int) 0,
'utcOffset' => '+00',
'isDaylightSavingTime' => false,
'localTime' => '2023-06-10T03:36:07.6465860'
],
'localityInfo' => [
'LikelyLand' => true,
'administrative' => [
[maximum depth reached]
],
'informative' => [
[maximum depth reached]
]
]
],
'lastUpdated' => '2023-06-09T14:09:09.4710357Z',
'network' => [
'registry' => 'ARIN',
'registryStatus' => 'assigned',
'registeredCountry' => 'US',
'registeredCountryName' => 'Estados Unidos',
'organisation' => 'Amazon Data Services NoVa',
'isReachableGlobally' => true,
'isBogon' => false,
'bgpPrefix' => '3.232.0.0/15',
'bgpPrefixNetworkAddress' => '3.232.0.0',
'bgpPrefixLastAddress' => '3.233.255.255',
'totalAddresses' => (int) 131072,
'carriers' => [
(int) 0 => [
[maximum depth reached]
]
],
'viaCarriers' => [
(int) 0 => [
[maximum depth reached]
]
]
]
]
$geo = [
'country_code' => 'GH',
'country_name' => 'Ghana',
'region_code_array' => [
(int) 0 => 'GH',
(int) 1 => 'AA'
],
'region_code' => 'AA',
'region_name' => '',
'city' => 'Okaikwei North Municipal District',
'latitude' => (float) 5.62,
'longitude' => (float) -0.22,
'continent_id' => null
]
$region_code = 'GH-AA'
$region_name = null
App\Controller\AppController::setCountryBigdatacloud() - APP/Controller/AppController.php, line 415
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 271
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Warning (2): Cannot modify header information - headers already sent by (output started at /home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [APP/Controller/AppController.php, line 173]Code Context true,
true
);
$cookie_name = 'Config'
$cookie_value = [
'host_country' => 'gh',
'country_id' => 'gh',
'country_name' => 'Ghana',
'country_conventional_name' => 'Ghana',
'region_name' => '',
'region_conventional_name' => '',
'region_iso2' => 'AA',
'region_unique_code' => 'GH-AA',
'city' => 'Okaikwei North Municipal District',
'continent_id' => false,
'continent_name' => false,
'lat' => (float) 5.62,
'lon' => (float) -0.22,
'timezone' => '',
'currency_code' => '',
'currency_symbol' => ''
]
$cookie_time = (int) 31536000
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 31536000
[protected] _isCLI => false
}
$session_value = []
$value = [
'host_country' => 'gh',
'country_id' => 'gh',
'country_name' => 'Ghana',
'country_conventional_name' => 'Ghana',
'region_name' => '',
'region_conventional_name' => '',
'region_iso2' => 'AA',
'region_unique_code' => 'GH-AA',
'city' => 'Okaikwei North Municipal District',
'continent_id' => false,
'continent_name' => false,
'lat' => (float) 5.62,
'lon' => (float) -0.22,
'timezone' => '',
'currency_code' => '',
'currency_symbol' => ''
]
$cookie_value_json = '{"host_country":"gh","country_id":"gh","country_name":"Ghana","country_conventional_name":"Ghana","region_name":"","region_conventional_name":"","region_iso2":"AA","region_unique_code":"GH-AA","city":"Okaikwei North Municipal District","continent_id":false,"continent_name":false,"lat":5.62,"lon":-0.22,"timezone":"","currency_code":"","currency_symbol":""}'
setcookie - [internal], line ??
App\Controller\AppController::writeCookie() - APP/Controller/AppController.php, line 173
App\Controller\AppController::setCountry() - APP/Controller/AppController.php, line 326
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 111
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Warning (2): Cannot modify header information - headers already sent by (output started at /home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [APP/Controller/AppController.php, line 173]Code Context true,
true
);
$cookie_name = 'Config'
$cookie_value = [
'host_country' => 'gh',
'country_id' => 'gh',
'country_name' => 'Ghana',
'country_conventional_name' => 'Ghana',
'region_name' => '',
'region_conventional_name' => '',
'region_iso2' => 'AA',
'region_unique_code' => 'GH-AA',
'city' => 'Okaikwei North Municipal District',
'continent_id' => false,
'continent_name' => false,
'lat' => (float) 5.62,
'lon' => (float) -0.22,
'timezone' => '',
'currency_code' => '',
'currency_symbol' => '',
'lang' => 'eng'
]
$cookie_time = (int) 31536000
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 31536000
[protected] _isCLI => false
}
$session_value = [
'host_country' => 'gh',
'country_id' => 'gh',
'country_name' => 'Ghana',
'country_conventional_name' => 'Ghana',
'region_name' => '',
'region_conventional_name' => '',
'region_iso2' => 'AA',
'region_unique_code' => 'GH-AA',
'city' => 'Okaikwei North Municipal District',
'continent_id' => false,
'continent_name' => false,
'lat' => (float) 5.62,
'lon' => (float) -0.22,
'timezone' => '',
'currency_code' => '',
'currency_symbol' => ''
]
$value = [
'host_country' => 'gh',
'country_id' => 'gh',
'country_name' => 'Ghana',
'country_conventional_name' => 'Ghana',
'region_name' => '',
'region_conventional_name' => '',
'region_iso2' => 'AA',
'region_unique_code' => 'GH-AA',
'city' => 'Okaikwei North Municipal District',
'continent_id' => false,
'continent_name' => false,
'lat' => (float) 5.62,
'lon' => (float) -0.22,
'timezone' => '',
'currency_code' => '',
'currency_symbol' => '',
'lang' => 'eng'
]
$cookie_value_json = '{"host_country":"gh","country_id":"gh","country_name":"Ghana","country_conventional_name":"Ghana","region_name":"","region_conventional_name":"","region_iso2":"AA","region_unique_code":"GH-AA","city":"Okaikwei North Municipal District","continent_id":false,"continent_name":false,"lat":5.62,"lon":-0.22,"timezone":"","currency_code":"","currency_symbol":"","lang":"eng"}'
setcookie - [internal], line ??
App\Controller\AppController::writeCookie() - APP/Controller/AppController.php, line 173
App\Controller\AppController::setLanguage() - APP/Controller/AppController.php, line 540
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 112
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Warning (2): Cannot modify header information - headers already sent by (output started at /home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [APP/Controller/AppController.php, line 173]Code Context true,
true
);
$cookie_name = 'Config'
$cookie_value = [
'host_country' => 'gh',
'country_id' => 'gh',
'country_name' => 'Ghana',
'country_conventional_name' => 'Ghana',
'region_name' => '',
'region_conventional_name' => '',
'region_iso2' => 'AA',
'region_unique_code' => 'GH-AA',
'city' => 'Okaikwei North Municipal District',
'continent_id' => false,
'continent_name' => false,
'lat' => (float) 5.62,
'lon' => (float) -0.22,
'timezone' => '',
'currency_code' => '',
'currency_symbol' => '',
'lang' => 'eng',
'web_version' => null,
'web_version_name' => false
]
$cookie_time = (int) 31536000
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 31536000
[protected] _isCLI => false
}
$session_value = [
'host_country' => 'gh',
'country_id' => 'gh',
'country_name' => 'Ghana',
'country_conventional_name' => 'Ghana',
'region_name' => '',
'region_conventional_name' => '',
'region_iso2' => 'AA',
'region_unique_code' => 'GH-AA',
'city' => 'Okaikwei North Municipal District',
'continent_id' => false,
'continent_name' => false,
'lat' => (float) 5.62,
'lon' => (float) -0.22,
'timezone' => '',
'currency_code' => '',
'currency_symbol' => '',
'lang' => 'eng'
]
$value = [
'host_country' => 'gh',
'country_id' => 'gh',
'country_name' => 'Ghana',
'country_conventional_name' => 'Ghana',
'region_name' => '',
'region_conventional_name' => '',
'region_iso2' => 'AA',
'region_unique_code' => 'GH-AA',
'city' => 'Okaikwei North Municipal District',
'continent_id' => false,
'continent_name' => false,
'lat' => (float) 5.62,
'lon' => (float) -0.22,
'timezone' => '',
'currency_code' => '',
'currency_symbol' => '',
'lang' => 'eng',
'web_version' => null,
'web_version_name' => false
]
$cookie_value_json = '{"host_country":"gh","country_id":"gh","country_name":"Ghana","country_conventional_name":"Ghana","region_name":"","region_conventional_name":"","region_iso2":"AA","region_unique_code":"GH-AA","city":"Okaikwei North Municipal District","continent_id":false,"continent_name":false,"lat":5.62,"lon":-0.22,"timezone":"","currency_code":"","currency_symbol":"","lang":"eng","web_version":null,"web_version_name":false}'
setcookie - [internal], line ??
App\Controller\AppController::writeCookie() - APP/Controller/AppController.php, line 173
App\Controller\AppController::setLocale() - APP/Controller/AppController.php, line 622
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 113
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 352
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 329
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 113
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 676
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
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 120
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Warning (512): Unable to emit headers. Headers sent in file=/home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php line=856 [CORE/src/Http/ResponseEmitter.php, line 51]Code Context if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$maxBufferLength = (int) 8192
$file = '/home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 856
$message = 'Unable to emit headers. Headers sent in file=/home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php line=856'
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 51
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 152]Code Context $response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$reasonPhrase = 'Found'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 152
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 57
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 181]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'csrfToken' => [
'name' => 'csrfToken',
'value' => 'ddd5475877462dae6ebda4d07a1db382861742a0bf46c1e5b243edeb596a6ea5587930fe8ebf309400c6a90e0001724d3830cd4fa0cebdd6295058e09535bd76',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '0'
]
]
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 181]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'csrfToken' => [
'name' => 'csrfToken',
'value' => 'ddd5475877462dae6ebda4d07a1db382861742a0bf46c1e5b243edeb596a6ea5587930fe8ebf309400c6a90e0001724d3830cd4fa0cebdd6295058e09535bd76',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '0'
]
]
$values = [
(int) 0 => 'https://www.savethegalgos.org/'
]
$name = 'Location'
$first = true
$value = 'https://www.savethegalgos.org/'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/animaster/savethegalgos.org/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 210]Code Context $cookie['secure'],
$cookie['httpOnly']
);
$cookies = [
'csrfToken' => [
'name' => 'csrfToken',
'value' => 'ddd5475877462dae6ebda4d07a1db382861742a0bf46c1e5b243edeb596a6ea5587930fe8ebf309400c6a90e0001724d3830cd4fa0cebdd6295058e09535bd76',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '0'
]
]
$cookie = [
'name' => 'csrfToken',
'value' => 'ddd5475877462dae6ebda4d07a1db382861742a0bf46c1e5b243edeb596a6ea5587930fe8ebf309400c6a90e0001724d3830cd4fa0cebdd6295058e09535bd76',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '0'
]
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 210
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 190
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40