Meng Posted November 30, 2017 Share Posted November 30, 2017 Ciao a tutti! Ho appena finito di configurare il mio primo negozio con Prestashop. Tutto sembra funzionare correttamente, ma quando eseguo il pagamento (in modalità di test), il sistema mi restituisce questo errore: ContextErrorException in Cart.php in Cart.php line 37 at ErrorHandler->handleError('8', 'Undefined offset: 6', '/home/unmsejmm/public_html/cart/override/classes/Cart.php', '37', array('default_country' => null, 'flush' => false, 'cache' => array(), 'delivery_options' => array(array('60,' => array('carrier_list' => array(array('price_with_tax' => '0', 'price_without_tax' => '0', 'package_list' => array('0'), 'product_list' => array(array('id_product_attribute' => '0', 'id_product' => '1', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Black Sun', 'is_virtual' => '0', 'description_short' => '<p>Prezzo promozionale!</p>', 'available_now' => '', 'available_later' => '', 'id_category_default' => '3', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => '1', 'price' => '49.99', 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '0', 'width' => '7.500000', 'height' => '7.500000', 'depth' => '19.500000', 'out_of_stock' => '2', 'weight' => '0.15', 'available_date' => '0000-00-00', 'date_add' => '2017-11-17 23:31:14', 'date_upd' => '2017-11-30 14:27:04', 'quantity' => '1', 'link_rewrite' => 'black-sun', 'category' => 'sun', 'unique_id' => '00000000010000000000100', 'id_address_delivery' => '10', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => null, 'ecotax_attr' => null, 'reference' => '', 'weight_attribute' => null, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '1-1', 'legend' => '', 'reduction_type' => '0', 'is_gift' => false, 'reduction' => '0', 'price_without_reduction' => '49.99', 'specific_prices' => array(), 'stock_quantity' => '0', 'price_with_reduction' => '49.99', 'price_with_reduction_without_tax' => '49.99', 'total' => '49.99', 'total_wt' => '49.99', 'price_wt' => '49.99', 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => '0', 'features' => array(), 'rate' => '0', 'tax_name' => '', 'warehouse_list' => array('0'), 'in_stock' => false, 'carrier_list' => array('60', '55'))), 'instance' => object(Carrier), 'logo' => false)), 'is_best_price' => true, 'is_best_grade' => true, 'unique_carrier' => true, 'total_price_with_tax' => '0', 'total_price_without_tax' => '0', 'is_free' => true, 'position' => '0'), '55,' => array('is_best_price' => false, 'is_best_grade' => false, 'unique_carrier' => true, 'carrier_list' => array(array('price_with_tax' => '9', 'price_without_tax' => '9', 'instance' => object(Carrier), 'package_list' => array('0'), 'product_list' => array(array('id_product_attribute' => '0', 'id_product' => '1', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Black Sun', 'is_virtual' => '0', 'description_short' => '<p>Prezzo promozionale!</p>', 'available_now' => '', 'available_later' => '', 'id_category_default' => '3', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => '1', 'price' => '49.99', 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '0', 'width' => '7.500000', 'height' => '7.500000', 'depth' => '19.500000', 'out_of_stock' => '2', 'weight' => '0.15', 'available_date' => '0000-00-00', 'date_add' => '2017-11-17 23:31:14', 'date_upd' => '2017-11-30 14:27:04', 'quantity' => '1', 'link_rewrite' => 'black-sun', 'category' => 'sun', 'unique_id' => '00000000010000000000100', 'id_address_delivery' => '10', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => null, 'ecotax_attr' => null, 'reference' => '', 'weight_attribute' => null, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '1-1', 'legend' => '', 'reduction_type' => '0', 'is_gift' => false, 'reduction' => '0', 'price_without_reduction' => '49.99', 'specific_prices' => array(), 'stock_quantity' => '0', 'price_with_reduction' => '49.99', 'price_with_reduction_without_tax' => '49.99', 'total' => '49.99', 'total_wt' => '49.99', 'price_wt' => '49.99', 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => '0', 'features' => array(), 'rate' => '0', 'tax_name' => '', 'warehouse_list' => array('0'), 'in_stock' => false, 'carrier_list' => array('60', '55'))), 'logo' => '/cart/img/s/55.jpg')), 'total_price_with_tax' => '9', 'total_price_without_tax' => '9', 'is_free' => false, 'position' => '1'))), 'delivery_options_filtered' => array(), 'id_address' => '6', 'address' => object(Address))) in Cart.php line 37 at Cart->getDeliveryOptionList(null) in Cart.php line 3079 at CartCore->getDeliveryOption(null, false, false) in Cart.php line 3147 at CartCore->getTotalShippingCost(null, false) in Cart.php line 1808 at CartCore->getOrderTotal(false) in CartPresenter.php line 295 at CartPresenter->present(object(Cart)) in OrderPresenter.php line 114 at OrderPresenter->getProducts(object(Order)) in OrderPresenter.php line 87 at OrderPresenter->present(object(Order)) in OrderConfirmationController.php line 87 at OrderConfirmationControllerCore->initContent() in Controller.php line 205 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 Sapete da cosa può essere causato il problema? Posso chiedervi un supporto? Grazie!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now