//lấy id catproduct theo alias $getId = $this->Catproduct->findAllByAlias($alias); $this->set('keywords_for_layout',$getId['0']['Catproduct']['meta_key']);
$alias = null
$getId = array()
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 56
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 93
Notice (8): Undefined index: 0 [APP/Plugin/Product/Controller/ProductController.php, line 57]
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 57
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 93
Notice (8): Undefined index: 0 [APP/Plugin/Product/Controller/ProductController.php, line 58]
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 58
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 93
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 59]
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 59
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 93
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 60]
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 60
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 93
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 61]
ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 61
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 93