* @return void*/public function view($id = null, $cat_id) {
$id = '23'
ProductsController::view() - APP/Controller/ProductsController.php, line 68
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined variable: cat_id [APP/Controller/ProductsController.php, line 75]
throw new NotFoundException(__('Invalid product'));} $this->set('PCat', $this->get_cat($cat_id));
$id = '23'
ProductsController::view() - APP/Controller/ProductsController.php, line 75
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined offset: 0 [APP/Controller/ProductsController.php, line 261]
ProductsController::get_cat() - APP/Controller/ProductsController.php, line 261
ProductsController::view() - APP/Controller/ProductsController.php, line 75
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 109