Missing Method in ProductsController

Error: The action sub is not defined in controller ProductsController

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

<?php
class ProductsController extends AppController {


	public function sub() {

	}

}

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

Stack Trace

(default) 2 queries took 1 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1SELECT `Productcategory`.`id`, `Productcategory`.`parent_id`, `Productcategory`.`priority`, `Productcategory`.`name`, `Productcategory`.`thumb_image`, `Productcategory`.`image`, `Productcategory`.`description`, `Productcategory`.`url`, `Productcategory`.`title`, `Productcategory`.`best_selling`, `Productcategory`.`meta_keywords`, `Productcategory`.`status`, `Productcategory`.`created_date`, `Productcategory`.`modified_date` FROM `ecommerc_launmarkecommerce`.`productcategories` AS `Productcategory` WHERE 1 = 157571
2SELECT `Price_list`.`id`, `Price_list`.`name`, `Price_list`.`uploads`, `Price_list`.`status` FROM `ecommerc_launmarkecommerce`.`price_lists` AS `Price_list` WHERE 1 = 1 LIMIT 1110