Warning (2): count(): Parameter must be an array or an object that implements Countable [APP/Controller/Component/HistoryComponent.php, line 53]Code Context //count($params['url']) ? $url = '/'.$params['url']['url'] : $url = '/';
if(count($this->data) == STUDIOSIPAK_MAX_HISTORY) {
$params = object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'view',
'named' => array([maximum depth reached]),
'pass' => array(
[maximum depth reached]
),
'language' => 'fre',
'slug' => 'sharp-ring',
'isAjax' => false
)
data => array()
query => array()
url => 'fre/produits/sharp-ring'
base => ''
webroot => '/'
here => '/fre/produits/sharp-ring'
[protected] _detectors => array(
'get' => array(
[maximum depth reached]
),
'patch' => array(
[maximum depth reached]
),
'post' => array(
[maximum depth reached]
),
'put' => array(
[maximum depth reached]
),
'delete' => array(
[maximum depth reached]
),
'head' => array(
[maximum depth reached]
),
'options' => array(
[maximum depth reached]
),
'ssl' => array(
[maximum depth reached]
),
'ajax' => array(
[maximum depth reached]
),
'flash' => array(
[maximum depth reached]
),
'mobile' => array(
[maximum depth reached]
),
'requested' => array(
[maximum depth reached]
),
'json' => array(
[maximum depth reached]
),
'xml' => array(
[maximum depth reached]
)
)
[protected] _input => ''
}
$value = '/fre/produits/sharp-ring'
$key = 'here'
$url = '/fre/produits/sharp-ring'
HistoryComponent::_addUrl() - APP/Controller/Component/HistoryComponent.php, line 53
HistoryComponent::startup() - APP/Controller/Component/HistoryComponent.php, line 22
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 129
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 683
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Notice (8): Undefined index: Product [APP/Controller/ProductsController.php, line 2779]Code Context 'Category.parent_id' => null,
'Product.id' => $product['Product']['id'],
$slug = 'sharp-ring'
$product = array()
$category = array()
ProductsController::view() - APP/Controller/ProductsController.php, line 2779
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Notice (8): Trying to access array offset on value of type null [APP/Controller/ProductsController.php, line 2779]Code Context 'Category.parent_id' => null,
'Product.id' => $product['Product']['id'],
$slug = 'sharp-ring'
$product = array()
$category = array()
ProductsController::view() - APP/Controller/ProductsController.php, line 2779
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92
Warning (2): Cannot modify header information - headers already sent by (output started at /home/salomeos/www/lib/Cake/Utility/Debugger.php:797) [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[autoLogin]',
'value' => '',
'expire' => (int) 1732421499,
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false
)
$name = 'CakeCookie[autoLogin]'
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 800
ProductsController::view() - APP/Controller/ProductsController.php, line 2793
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92