Notice (8): Undefined index: Product [APP/Controller/ProductController.php, line 474]Code Context $this->set('infoProduct', $infoProduct);
if($infoProduct['Product']['ecommerce'] == 1) {
$idProduct = '99'
$infoProduct = array()
ProductController::detail() - APP/Controller/ProductController.php, line 474
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 110
Warning (2): ini_set() [<a href='http://php.net/function.ini-set'>function.ini-set</a>]: Headers already sent. You cannot change the session module's ini settings at this time [CORE/Cake/Model/Datasource/CakeSession.php, line 553]Code Context if (!empty($sessionConfig['ini']) && is_array($sessionConfig['ini'])) {
foreach ($sessionConfig['ini'] as $setting => $value) {
if (ini_set($setting, $value) === false) {
$sessionConfig = array(
'cookie' => 'CAKEPHP',
'timeout' => (int) 240,
'ini' => array(
'session.use_trans_sid' => (int) 0,
'session.cookie_path' => '/',
'session.cookie_lifetime' => (int) 14400,
'session.name' => 'CAKEPHP',
'session.gc_maxlifetime' => (int) 14400,
'session.cookie_httponly' => (int) 1
),
'defaults' => 'php',
'cookieTimeout' => (int) 240,
'cacheLimiter' => 'must-revalidate'
)
$defaults = array(
'cookie' => 'CAKEPHP',
'timeout' => (int) 240,
'ini' => array(
'session.use_trans_sid' => (int) 0,
'session.cookie_path' => '/'
)
)
$value = (int) 0
$setting = 'session.use_trans_sid'
ini_set - [internal], line ??
CakeSession::_configureSession() - CORE/Cake/Model/Datasource/CakeSession.php, line 553
CakeSession::_startSession() - CORE/Cake/Model/Datasource/CakeSession.php, line 697
CakeSession::start() - CORE/Cake/Model/Datasource/CakeSession.php, line 204
CakeSession::write() - CORE/Cake/Model/Datasource/CakeSession.php, line 421
SessionComponent::write() - CORE/Cake/Controller/Component/SessionComponent.php, line 55
ProductController::detail() - APP/Controller/ProductController.php, line 506
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 110
Fatal error: Uncaught Error: Call to a member function find() on null in /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/app/Controller/AppController.php:108
Stack trace:
#0 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Event/CakeEventManager.php(243): AppController->beforeFilter(Object(CakeEvent))
#1 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Controller/Controller.php(677): CakeEventManager->dispatch(Object(CakeEvent))
#2 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()
#3 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController(Object(CakeSessionException))
#4 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct(Object(CakeSessionException))
#5 [internal function]: ErrorHandler::handleException(Object(CakeSessionEx in /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/app/Controller/AppController.php on line 108
Fatal error: Uncaught Error: Call to a member function find() on null in /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/app/Controller/AppController.php:108
Stack trace:
#0 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Event/CakeEventManager.php(243): AppController->beforeFilter(Object(CakeEvent))
#1 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Controller/Controller.php(677): CakeEventManager->dispatch(Object(CakeEvent))
#2 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()
#3 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController(Object(FatalErrorException))
#4 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct(Object(FatalErrorException))
#5 /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/lib/Cake/Er in /mnt/stor2-wc1-dfw1/406060/2043474/www.surqui.com/web/content/app/Controller/AppController.php on line 108