Code Context if ($this->request->params['controller']=='productos' && $this->request->params['action']=='buscador'){
$this->Flash->error(__('Página no encontrada'));
return $this->redirect(array('controller' => 'productos', 'action' => 'buscador/?nombre='.$this->request->data['Producto']['nombre']));
AppController::__setErrorLayout() - APP/Controller/AppController.php, line 79
AppController::beforeFilter() - APP/Controller/AppController.php, line 68
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 677
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 ??