Notice (8): Undefined offset: 0 [APP/Controller/PagesController.php, line 159]Code Context }
if($slug != $article['Article'][0]['Article']['slug']){
$slug = 'apports-alimentaires-en-sel-de-la-population-senegalaise-scenarii-de-consommation-sokhna-ndao-diao-seynabou-f-dioum-ndeye-dd-niang-arame-mbaye-nickolas-ayessou-codou'
$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 = 'apports-alimentaires-en-sel-de-la-population-senegalaise-scenarii-de-consommation-sokhna-ndao-diao-seynabou-f-dioum-ndeye-dd-niang-arame-mbaye-nickolas-ayessou-codou'
$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