Missing Method in SearchesController
Error:
The action 32 is not defined in controller SearchesController
Error:
Create SearchesController::32() in file: app/Controller/SearchesController.php.
<?php
class SearchesController extends AppController {
public function 32() {
}
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_action.ctp
Stack Trace
- CORE/Cake/Routing/Dispatcher.php line 186 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'searches/32'
base => ''
webroot => '/'
here => '/searches/32'
}
- CORE/Cake/Routing/Dispatcher.php line 161 → Dispatcher->_invoke(SearchesController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(SearchesController) {
uses => array(
[maximum depth reached]
)
paginate => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
name => 'Searches'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Searches'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => '32'
layout => 'front'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Clinic'
modelKey => 'search'
validationErrors => null
Session => object(SessionComponent) {}
Security => object(SecurityComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
presetVars => array([maximum depth reached])
Prg => object(PrgComponent) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'searches/32'
base => ''
webroot => '/'
here => '/searches/32'
}
object(CakeResponse) {
}
- APP/webroot/index.php line 92 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'searches/32'
base => ''
webroot => '/'
here => '/searches/32'
}
object(CakeResponse) {
}