Warning (2): Undefined array key "Campanya" [APP/Controller/AppController.php, line 43]Code Context //pr($this->campanya);
$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 43
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 43]Code Context //pr($this->campanya);
$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 43
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