$getId = $this->Catproduct->findAllByslug($alias); //thiết lập tên danh mục $this->set("catProductName", $getId[0]["Catproduct"]["name"]);
$alias = null
$getId = array()
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 15
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 92
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 23]
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 23
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 92
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 26]
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 26
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 92
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 26]
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 26
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 92
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 27]
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 27
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 92