Notice (8): Undefined offset: 0 [APP/controllers/checkout_controller.php, line 430]Code |
Context )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
$default_package = array(
"weight" => "250",
"size_width" => "100",
"size_height" => "12",
"size_length" => "30"
)
$model_id = "532"
$qtd = 1
$check_exists = array()
$conditions = array(
"Product.active" => "Y",
"Product.store_id" => 1,
"Product.id" => "466"
)
$contain = array(
"Category",
"ProductModel" => array(
"conditions" => array()
)
)
$product = array(
"Product" => array(
"id" => "466",
"created" => "2019-11-29 00:54:38",
"modified" => "2022-12-26 11:26:32",
"store_id" => "1",
"name" => "Convertedor de Ferrugem TF7 500ml",
"brand_id" => null,
"type_id" => "2",
"description" => "",
"technical" => "",
"package" => "",
"seo_title" => "",
"seo_description" => "",
"seo_keywords" => "",
"is_new" => "N",
"new_date_from" => null,
"new_date_to" => null,
"auto_stock" => "Y",
"featured" => "N",
"active" => "Y",
"short_description" => "",
"slug" => "convertedor-de-ferrugem-tf7-500ml-466"
),
"ProductModel" => array(
array()
),
"Category" => array()
)
$models = array(
array(
"id" => "532",
"created" => "2019-11-29 00:54:38",
"modified" => "2022-12-26 11:26:32",
"product_id" => "466",
"code" => "2921",
"name" => "Unidades - ",
"default" => "Y",
"description" => null,
"technical" => null,
"package" => null,
"price" => "20.00",
"cost_price" => null,
"special_price" => null,
"special_price_date_from" => null,
"special_price_date_to" => null,
"use_default_price" => "0",
"qtd_stock" => "10",
"available" => "Y",
"weight" => null,
"size_width" => null,
"size_height" => null,
"size_length" => null,
"use_default_pack" => "0",
"gix_code" => null,
"gix_pack" => null,
"active" => "Y",
"current_price" => "20.00",
"ProductImage" => array()
)
)
$default_model = array(
"ProductModel" => array(
"id" => "532",
"created" => "2019-11-29 00:54:38",
"modified" => "2022-12-26 11:26:32",
"product_id" => "466",
"code" => "2921",
"name" => "Unidades - ",
"default" => "Y",
"description" => null,
"technical" => null,
"package" => null,
"price" => "20.00",
"cost_price" => null,
"special_price" => null,
"special_price_date_from" => null,
"special_price_date_to" => null,
"use_default_price" => "0",
"qtd_stock" => "10",
"available" => "Y",
"weight" => null,
"size_width" => null,
"size_height" => null,
"size_length" => null,
"use_default_pack" => "0",
"gix_code" => null,
"gix_pack" => null,
"active" => "Y",
"current_price" => "20.00"
)
)
$model = array(
"ProductModel" => array(
"id" => "532",
"created" => "2019-11-29 00:54:38",
"modified" => "2022-12-26 11:26:32",
"product_id" => "466",
"code" => "2921",
"name" => "Unidades - ",
"default" => "Y",
"description" => null,
"technical" => null,
"package" => null,
"price" => "20.00",
"cost_price" => null,
"special_price" => null,
"special_price_date_from" => null,
"special_price_date_to" => null,
"use_default_price" => "0",
"qtd_stock" => "10",
"available" => "Y",
"weight" => "250",
"size_width" => "100",
"size_height" => "12",
"size_length" => "30",
"use_default_pack" => "0",
"gix_code" => null,
"gix_pack" => null,
"active" => "Y",
"current_price" => "20.00",
"ProductImage" => array()
)
)
$i = 0
$ci = array(
"ProductImage.product_id" => "466",
"OR" => array(
"ProductImage.model_id IS NULL",
"ProductImage.model_id" => "532"
)
)
$images = array(
array(
"ProductImage" => array()
)
)
$model_image = array(
"id" => "529",
"created" => "2019-11-29 00:54:38",
"modified" => "2019-11-29 00:54:38",
"product_id" => "466",
"model_id" => null,
"name" => "",
"md5sum" => null,
"order" => "0",
"locked" => "N",
"default" => "Y",
"active" => "Y",
"img" => "img/products/product_466_529.jpg"
)
CheckoutController::add() - APP/controllers/checkout_controller.php, line 430
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ncores.com.br/httpdocs/cake/libs/debugger.php:686) [CORE/cake/libs/controller/controller.php, line 742]Code |
Context */
function header($status) {
header($status);
$status = "Location: https://ncores.com.br/checkout/cart"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 742
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 721
CheckoutController::add() - APP/controllers/checkout_controller.php, line 457
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84