Missing Method in CategoriesController

Error: The action index is not defined in controller CategoriesController

Error: Create CategoriesController::index() in file: app/Controller/CategoriesController.php.

<?php
class CategoriesController extends AppController {


	public function index() {

	}

}

Notice: If you want to customize this error message, create app/View/Errors/missing_action.ctp

Stack Trace

  • CORE/Cake/Routing/Dispatcher.php line 187Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 162Dispatcher->_invoke(CategoriesController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 109Dispatcher->dispatch(CakeRequest, CakeResponse)
  • ROOT/index.php line 43require(string)