$this->campanya = $this->GestionCampanyas->getInfoCampanya(FULL_BASE_URL); $this->layout = 'campanyas/' .$this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
AppController::beforeFilter() - APP/Controller/AppController.php, line 46
CampanyasController::beforeFilter() - APP/Controller/CampanyasController.php, line 27
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 98
Warning (2): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 46]
$this->campanya = $this->GestionCampanyas->getInfoCampanya(FULL_BASE_URL); $this->layout = 'campanyas/' .$this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
AppController::beforeFilter() - APP/Controller/AppController.php, line 46
CampanyasController::beforeFilter() - APP/Controller/CampanyasController.php, line 27
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 98
Warning (2): Undefined array key "Campanya" [APP/Controller/CampanyasController.php, line 44]
$this->layout = 'blank_layout'; //Ponemos un layout en blanco (ver views/layouts) para poder cargar las landing pages como views $this->render('landing_pages/' . $this->campanya['Campanya']['codename']);
CampanyasController::index() - APP/Controller/CampanyasController.php, line 44
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 98
Warning (2): Trying to access array offset on value of type null [APP/Controller/CampanyasController.php, line 44]
$this->layout = 'blank_layout'; //Ponemos un layout en blanco (ver views/layouts) para poder cargar las landing pages como views $this->render('landing_pages/' . $this->campanya['Campanya']['codename']);
CampanyasController::index() - APP/Controller/CampanyasController.php, line 44
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 98
Warning (2): Undefined array key "Campanya" [APP/Controller/AppController.php, line 46]
$this->campanya = $this->GestionCampanyas->getInfoCampanya(FULL_BASE_URL); $this->layout = 'campanyas/' .$this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
AppController::beforeFilter() - APP/Controller/AppController.php, line 46
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 46]
$this->campanya = $this->GestionCampanyas->getInfoCampanya(FULL_BASE_URL); $this->layout = 'campanyas/' .$this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
AppController::beforeFilter() - APP/Controller/AppController.php, line 46
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 ??
CakePHP: the rapid development php framework:
Errors
} $this->layout = 'blank_layout'; //Ponemos un layout en blanco (ver views/layouts) para poder cargar las landing pages como views $this->render('landing_pages/' . $this->campanya['Campanya']['codename']);//$this->render('landing_pages/cuentos');