Missing Controller
Error:
Notice (8): Undefined variable: class [CORE/Cake/View/Errors/missing_controller.ctp, line 22]Code Context<p class="error">
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
<?php echo __d('cake_dev', '%s could not be found.', '<em>' . h($pluginDot . $class) . '</em>'); ?>
$viewFile = '/partecipa-admin/php/lib/Cake/View/Errors/missing_controller.ctp'
$dataForView = array(
'data' => array(),
'messages' => array(),
'_serialize' => array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
)
$data = array()
$messages = array()
$_serialize = array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
$pluginDot = null
include - CORE/Cake/View/Errors/missing_controller.ctp, line 22
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
RestExceptionRenderer::_cakeError() - APP/Plugin/Wf/Error/RestExceptionRenderer.php, line 25
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
could not be found.
Error:
Notice (8): Undefined variable: class [CORE/Cake/View/Errors/missing_controller.ctp, line 26]Code Context<p class="error">
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
<?php echo __d('cake_dev', 'Create the class %s below in file: %s', '<em>' . h($class) . '</em>', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'Controller' . DS . h($class) . '.php'); ?>
$viewFile = '/partecipa-admin/php/lib/Cake/View/Errors/missing_controller.ctp'
$dataForView = array(
'data' => array(),
'messages' => array(),
'_serialize' => array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
)
$data = array()
$messages = array()
$_serialize = array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
$pluginDot = null
include - CORE/Cake/View/Errors/missing_controller.ctp, line 26
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
RestExceptionRenderer::_cakeError() - APP/Plugin/Wf/Error/RestExceptionRenderer.php, line 25
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
Notice (8): Undefined variable: class [CORE/Cake/View/Errors/missing_controller.ctp, line 26]Code Context<p class="error">
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
<?php echo __d('cake_dev', 'Create the class %s below in file: %s', '<em>' . h($class) . '</em>', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'Controller' . DS . h($class) . '.php'); ?>
$viewFile = '/partecipa-admin/php/lib/Cake/View/Errors/missing_controller.ctp'
$dataForView = array(
'data' => array(),
'messages' => array(),
'_serialize' => array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
)
$data = array()
$messages = array()
$_serialize = array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
$pluginDot = null
include - CORE/Cake/View/Errors/missing_controller.ctp, line 26
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
RestExceptionRenderer::_cakeError() - APP/Plugin/Wf/Error/RestExceptionRenderer.php, line 25
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
Create the class below in file: app/Controller/.php
<?php
class Notice (8): Undefined variable: class [CORE/Cake/View/Errors/missing_controller.ctp, line 30]Code Context<pre>
<?php
class <?php echo h($class . ' extends ' . (empty($plugin) ? '' : $plugin)); ?>AppController {
$viewFile = '/partecipa-admin/php/lib/Cake/View/Errors/missing_controller.ctp'
$dataForView = array(
'data' => array(),
'messages' => array(),
'_serialize' => array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
)
$data = array()
$messages = array()
$_serialize = array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
$pluginDot = null
include - CORE/Cake/View/Errors/missing_controller.ctp, line 30
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
RestExceptionRenderer::_cakeError() - APP/Plugin/Wf/Error/RestExceptionRenderer.php, line 25
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
extends AppController {
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_controller.ctp
Fatal Error
Error:
Notice (8): Undefined variable: error [CORE/Cake/View/Errors/fatal_error.ctp, line 21]Code Context<p class="error">
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
<?php echo h($error->getMessage()); ?>
$viewFile = '/partecipa-admin/php/lib/Cake/View/Errors/fatal_error.ctp'
$dataForView = array(
'data' => array(),
'messages' => array(),
'_serialize' => array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
)
$data = array()
$messages = array()
$_serialize = array(
(int) 0 => 'data',
(int) 1 => 'messages'
)
include - CORE/Cake/View/Errors/fatal_error.ctp, line 21
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
RestExceptionRenderer::_cakeError() - APP/Plugin/Wf/Error/RestExceptionRenderer.php, line 25
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - CORE/Cake/Core/App.php, line 970
App::shutdown() - CORE/Cake/Core/App.php, line 943
[main] - [internal], line ??
Fatal error: Uncaught Error: Call to a member function getMessage() on null in /partecipa-admin/php/lib/Cake/View/Errors/fatal_error.ctp:21
Stack trace:
#0 /partecipa-admin/php/lib/Cake/View/View.php(971): include()
#1 /partecipa-admin/php/lib/Cake/View/View.php(933): View->_evaluate()
#2 /partecipa-admin/php/lib/Cake/View/View.php(473): View->_render()
#3 /partecipa-admin/php/lib/Cake/Controller/Controller.php(968): View->render()
#4 /partecipa-admin/php/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render()
#5 /partecipa-admin/php/app/Plugin/Wf/Error/RestExceptionRenderer.php(25): ExceptionRenderer->_outputMessage()
#6 /partecipa-admin/php/lib/Cake/Error/ExceptionRenderer.php(190): RestExceptionRenderer->_cakeError()
#7 /partecipa-admin/php/lib/Cake/Error/ErrorHandler.php(127): ExceptionRenderer->render()
#8 /partecipa-admin/php/lib/Cake/Error/ErrorHandler.php(269): ErrorHandler::handleException()
#9 /partecipa-admin/php/lib/Cake/Error/ErrorHandler.php(212): ErrorHandler::handleFatalError()
#10 /partecipa-admin in /partecipa-admin/php/lib/Cake/View/Errors/fatal_error.ctp on line 21