Warning (2): Undefined array key "Campanya" [APP/Controller/AppController.php, line 81]Code Context
//Para la campanya de Digitalia por IP/URL Referida
if ( in_array($this->campanya['Campanya']['codename'], array('coaat_escuelaingles')) && isset($_SERVER['HTTP_REFERER']) ) {
AppController::beforeFilter() - APP/Controller/AppController.php, line 81
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 81]Code Context
//Para la campanya de Digitalia por IP/URL Referida
if ( in_array($this->campanya['Campanya']['codename'], array('coaat_escuelaingles')) && isset($_SERVER['HTTP_REFERER']) ) {
AppController::beforeFilter() - APP/Controller/AppController.php, line 81
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Undefined array key "Campanya" [APP/Controller/AppController.php, line 145]Code Context function __getIdiomas($campanya) {
$codename = $campanya['Campanya']['codename'];
AppController::__getIdiomas() - APP/Controller/AppController.php, line 145
AppController::beforeFilter() - APP/Controller/AppController.php, line 92
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 145]Code Context function __getIdiomas($campanya) {
$codename = $campanya['Campanya']['codename'];
AppController::__getIdiomas() - APP/Controller/AppController.php, line 145
AppController::beforeFilter() - APP/Controller/AppController.php, line 92
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Undefined array key "Campanya" [APP/Controller/AppController.php, line 108]Code Context //Guardamos la pagina visitada (si el usuario esta logeado). Usamos "entregas" para adaptar al formato usado en el component GestionUsuarios
$info_entrega = array();
$info_entrega['Entrega']['id_campania'] = $this->campanya['Campanya']['id_campania'];
AppController::beforeFilter() - APP/Controller/AppController.php, line 108
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 108]Code Context //Guardamos la pagina visitada (si el usuario esta logeado). Usamos "entregas" para adaptar al formato usado en el component GestionUsuarios
$info_entrega = array();
$info_entrega['Entrega']['id_campania'] = $this->campanya['Campanya']['id_campania'];
AppController::beforeFilter() - APP/Controller/AppController.php, line 108
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Undefined array key "Campanya" [APP/Controller/AppController.php, line 111]Code Context
//Guardamos visitas usuarios
if ($this->campanya['Campanya']['por_IP'] == 1 && !( $this->name == 'Campanyas' && $this->action == 'index' )) //No guardamos visitas a la landing
AppController::beforeFilter() - APP/Controller/AppController.php, line 111
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 111]Code Context
//Guardamos visitas usuarios
if ($this->campanya['Campanya']['por_IP'] == 1 && !( $this->name == 'Campanyas' && $this->action == 'index' )) //No guardamos visitas a la landing
AppController::beforeFilter() - APP/Controller/AppController.php, line 111
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Undefined array key "Campanya" [APP/Controller/AppController.php, line 121]Code Context }
$needs_location = ($this->campanya['Campanya']['por_geolocalizacion'] == 1);
AppController::beforeFilter() - APP/Controller/AppController.php, line 121
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 121]Code Context }
$needs_location = ($this->campanya['Campanya']['por_geolocalizacion'] == 1);
AppController::beforeFilter() - APP/Controller/AppController.php, line 121
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Undefined array key "Campanya" [APP/Controller/AppController.php, line 129]Code Context $this->set( 'needs_location', $needs_location );
$this->set( 'accuracy', $accuracy );
$this->layout = $this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
AppController::beforeFilter() - APP/Controller/AppController.php, line 129
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Warning (2): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 129]Code Context $this->set( 'needs_location', $needs_location );
$this->set( 'accuracy', $accuracy );
$this->layout = $this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
AppController::beforeFilter() - APP/Controller/AppController.php, line 129
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Missing Controller
Error:
Sitemap.xmlController could not be found.
Error:
Create the class Sitemap.xmlController below in file: app/Controller/Sitemap.xmlController.php
<?php
class Sitemap.xmlController extends AppController {
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_controller.ctp
Stack Trace