ProductsController::index() - APP/Controller/ProductsController.php, line 25
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 26]
*/public function index($cat_id) { $this->set('PCat', $this->get_cat($cat_id));
ProductsController::index() - APP/Controller/ProductsController.php, line 26
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::index() - APP/Controller/ProductsController.php, line 26
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 42]
'type' => 'inner','foreignKey' => TRUE,'conditions' => array("Product.id = ProductsLang.product_id and Product.products_cat_id = '$cat_id' and ProductsLang.lang = '$lang'")
$lang = 'eng'
$limit = (int) 5
ProductsController::index() - APP/Controller/ProductsController.php, line 42
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