Notice (8): Undefined index: Article [APP/Controller/ProductController.php, line 385]Code Context } else {
$article = $this->Article->find('first', array('conditions' => array('Article.id' => $id)));
if ($article['Article']['enabled'] == 1) {
$id = '33'
$result = ''
$article = array()
ProductController::detail() - APP/Controller/ProductController.php, line 385
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 117
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/stor2-wc1-dfw1/406060/2043520/www.cafebrumasdelzurqui.cr/web/content/lib/Cake/Utility/Debugger.php:795) [CORE/Cake/Network/CakeResponse.php, line 458]Code Context setcookie(
$name, $c['value'], $c['expire'], $c['path'],
$c['domain'], $c['secure'], $c['httpOnly']
$c = array(
'name' => 'CakeCookie[locale]',
'value' => 'eng',
'expire' => '1748853390',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false
)
$name = 'CakeCookie[locale]'
setcookie - [internal], line ??
CakeResponse::_setCookies() - CORE/Cake/Network/CakeResponse.php, line 458
CakeResponse::send() - CORE/Cake/Network/CakeResponse.php, line 429
Controller::redirect() - CORE/Cake/Controller/Controller.php, line 795
AppController::redirect() - APP/Controller/AppController.php, line 41
ProductController::detail() - APP/Controller/ProductController.php, line 389
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 117