$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