Last active
August 29, 2015 14:06
-
-
Save heat/7c4d6fc9669788afb923 to your computer and use it in GitHub Desktop.
error after update cake3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: The action index is not defined in controller FiscalsController | |
Error: Create FiscalsController::index() in file: src\Controller\\FiscalsController.php. | |
Stack Trace | |
ROOT\plugins\Crud\src\Controller\ControllerTrait.php line 35 → Cake\Controller\Controller->invokeAction() | |
*/ | |
public function invokeAction() { | |
try { | |
return parent::invokeAction(); | |
} catch (\Cake\Controller\Error\MissingActionException $e) { | |
ROOT\vendor\cakephp\cakephp\src\Routing\Dispatcher.php line 115 → App\Controller\AppController->invokeAction() | |
return $result; | |
} | |
$response = $controller->invokeAction(); | |
if ($response !== null && !($response instanceof Response)) { | |
ROOT\vendor\cakephp\cakephp\src\Routing\Dispatcher.php line 87 → Cake\Routing\Dispatcher->_invoke(App\Controller\FiscalsController) | |
)); | |
} | |
$response = $this->_invoke($controller); | |
if (isset($request->params['return'])) { | |
object(App\Controller\FiscalsController) { | |
components => [ | |
[maximum depth reached] | |
] | |
name => 'Fiscals' | |
helpers => [[maximum depth reached]] | |
request => object(Cake\Network\Request) {} | |
response => object(Cake\Network\Response) {} | |
paginate => [[maximum depth reached]] | |
autoRender => true | |
viewClass => 'Cake\View\View' | |
View => null | |
plugin => null | |
passedArgs => [[maximum depth reached]] | |
methods => [[maximum depth reached]] | |
viewPath => 'Fiscals' | |
modelClass => 'Fiscals' | |
viewVars => [[maximum depth reached]] | |
dispatchComponents => [ | |
[maximum depth reached] | |
] | |
view => 'index' | |
Flash => object(Cake\Controller\Component\FlashComponent) {} | |
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} | |
Crud => object(Crud\Controller\Component\CrudComponent) {} | |
[protected] _responseClass => 'Cake\Network\Response' | |
[protected] _components => object(Cake\Controller\ComponentRegistry) {} | |
[protected] _validViewOptions => [ | |
[maximum depth reached] | |
] | |
[protected] _eventManager => object(Cake\Event\EventManager) {} | |
[protected] _modelFactories => [ | |
[maximum depth reached] | |
] | |
} | |
ROOT\webroot\index.php line 37 → Cake\Routing\Dispatcher->dispatch(Cake\Network\Request, Cake\Network\Response) | |
$dispatcher->dispatch( | |
Request::createFromGlobals(), | |
new Response() | |
); | |
object(Cake\Network\Request) { | |
params => [ | |
[maximum depth reached] | |
] | |
data => [[maximum depth reached]] | |
query => [[maximum depth reached]] | |
cookies => [[maximum depth reached]] | |
url => 'fiscals/' | |
base => '' | |
webroot => '/' | |
here => '/fiscals/' | |
trustProxy => false | |
[protected] _environment => [ | |
[maximum depth reached] | |
] | |
[protected] _detectors => [ | |
[maximum depth reached] | |
] | |
[protected] _input => '' | |
[protected] _session => object(Cake\Network\Session) {} | |
} | |
object(Cake\Network\Response) { | |
[protected] _statusCodes => [ | |
[maximum depth reached] | |
] | |
[protected] _mimeTypes => [ | |
[maximum depth reached] | |
] | |
[protected] _protocol => 'HTTP/1.1' | |
[protected] _status => (int) 200 | |
[protected] _contentType => 'text/html' | |
[protected] _headers => [[maximum depth reached]] | |
[protected] _body => null | |
[protected] _file => null | |
[protected] _fileRange => [[maximum depth reached]] | |
[protected] _charset => 'UTF-8' | |
[protected] _cacheDirectives => [[maximum depth reached]] | |
[protected] _cookies => [[maximum depth reached]] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment