Code Context $message['success'] = true;
$message['count'] = $minicart['Basket']['item_count'];
$message['product_id'] = $basket_products[$key];
$key = '16721'
$old_minicart = array(
'Basket' => array(
'item_count' => (int) 0,
'subtotal' => (float) 0
),
'BasketItem' => array()
)
$basket_products = array()
$minicart = array(
'Basket' => array(
'item_count' => (int) 0,
'subtotal' => (float) 0
),
'BasketItem' => array()
)
$html_cart = '<!--nocache-->
<h2 class="title"><span class="darkgreen">YOUR CART</span></h2>
<p class="cart-empty"><span class="icon-info"></span> You have not added any products to your cart!</p>
'
$message = array(
'html_cart' => '<!--nocache-->
<h2 class="title"><span class="darkgreen">YOUR CART</span></h2>
<p class="cart-empty"><span class="icon-info"></span> You have not added any products to your cart!</p>
',
'success' => true,
'count' => (int) 0
)CartController::delete() - APP/Controller/CartController.php, line 186
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118