Notice (8): Undefined index: copertina [APP/Controller/Component/UtilComponent.php, line 68]Code Context $this->Session->write('Destination.name',$destination['Destination']['name']);
$this->Session->write('Destination.slug',$destination['Destination']['slug']);
$this->Session->write('Destination.copertina',$destination['Destination']['copertina']);
$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
)
UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PoiController::beforeFilter() - APP/Controller/PoiController.php, line 22
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 114
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/b2b.bikesquare.eu/cyclomap.bikesquare.eu/Vendor/cakephp/cakephp/lib/Cake/Utility/Debugger.php:797) [APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 458]Code Context setcookie(
$name, $c['value'], $c['expire'], $c['path'],
$c['domain'], $c['secure'], $c['httpOnly']
$c = array(
'name' => 'CakeCookie[Destination]',
'value' => '{"id":2}',
'expire' => '1675503566',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false
)
$name = 'CakeCookie[Destination]'
setcookie - [internal], line ??
CakeResponse::_setCookies() - APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 458
CakeResponse::send() - APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 429
Controller::redirect() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 800
PoiController::_checkIfAllowedOnNamespace() - APP/Controller/PoiController.php, line 1471
PoiController::view() - APP/Controller/PoiController.php, line 1338
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 114