parent::beforeFilter(); } public function index($slug){
ProductCategoriesController::index() - APP/Plugin/Products/Controller/ProductCategoriesController.php, line 7
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 95
Notice (8): Undefined variable: slug [APP/Plugin/Products/Controller/ProductCategoriesController.php, line 8]
} public function index($slug){ $category = $this->ProductCategory->findBySlug($slug);
ProductCategoriesController::index() - APP/Plugin/Products/Controller/ProductCategoriesController.php, line 8
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 95