Missing Method in ProductsController

Error: The action suspension is not defined in controller ProductsController

Error: Create ProductsController::suspension() in file: app/Controller/ProductsController.php.

<?php
class ProductsController extends AppController {


	public function suspension() {

	}

}

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

Stack Trace

  • CORE/Cake/Routing/Dispatcher.php line 193Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(ProductsController, CakeRequest)
  • APP/webroot/index.php line 111Dispatcher->dispatch(CakeRequest, CakeResponse)