Notice (8): Undefined offset: 0 [APP/Controller/PagesController.php, line 159]Code Context }
if($slug != $article['Article'][0]['Article']['slug']){
$slug = 'l-alimentation-a-base-de-fruits-de-legumes-et-de-poisson-ameliore-le-controle-glycemique-des-patients-diabetiques-de-type-2-sous-ado-nadia-mahdad-farida-o-boukortt-zaki-benziane-mohammed-belhadj'
$article = array(
'Article' => array()
)
PagesController::viewarticle() - APP/Controller/PagesController.php, line 159
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined offset: 0 [APP/Controller/PagesController.php, line 160]Code Context
if($slug != $article['Article'][0]['Article']['slug']){
$this->redirect($article['Article'][0]['Article']['link'], 301);
$slug = 'l-alimentation-a-base-de-fruits-de-legumes-et-de-poisson-ameliore-le-controle-glycemique-des-patients-diabetiques-de-type-2-sous-ado-nadia-mahdad-farida-o-boukortt-zaki-benziane-mohammed-belhadj'
$article = array(
'Article' => array()
)
PagesController::viewarticle() - APP/Controller/PagesController.php, line 160
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109