Jump to content

PS 1.7.3.2 ContextErrorException in CartPresenter.php


vendan

Recommended Posts

Witam koleżanki i kolegów. Prestashop 1.7 najnowszy. Zakupiłem moduł

Customer loyalty and rewards Advanced

z Presta Addons no i super. Tyle że mam pewien kłopot. Kiedy użytkownik zaloguje się do swojego konta i chce wejść w 'Historia i szczegóły zamówień' pokazuje się soczysty błąd :

ContextErrorException in CartPresenter.php line 481: Notice: Undefined index: reduction_formatted

  1. in CartPresenter.php line 481
  2. at ErrorHandler->handleError('8', 'Undefined index: reduction_formatted', '/home/foset/domains/twojapasmanteria.pl/public_html/tp17/src/Adapter/Cart/CartPresenter.php', '481', array('cart' => object(Cart), 'cartVouchers' => array(array('id_cart_rule' => null, 'id_customer' => null, 'date_from' => null, 'date_to' => null, 'description' => null, 'quantity' => null, 'quantity_per_user' => null, 'priority' => null, 'partial_use' => null, 'code' => null, 'minimum_amount' => null, 'minimum_amount_tax' => null, 'minimum_amount_currency' => null, 'minimum_amount_shipping' => null, 'country_restriction' => null, 'carrier_restriction' => null, 'group_restriction' => null, 'cart_rule_restriction' => null, 'product_restriction' => null, 'shop_restriction' => null, 'free_shipping' => null, 'reduction_percent' => null, 'reduction_amount' => null, 'reduction_tax' => null, 'reduction_currency' => null, 'reduction_product' => null, 'reduction_exclude_special' => null, 'gift_product' => null, 'gift_product_attribute' => null, 'highlight' => null, 'active' => null, 'date_add' => null, 'date_upd' => null, 'id_lang' => null, 'name' => null, 'id_cart' => '40512', 'obj' => object(CartRule), 'value_real' => '0', 'value_tax_exc' => '0', 'id_discount' => null)), 'vouchers' => array('' => array('id_cart_rule' => null, 'name' => null, 'reduction_percent' => null, 'reduction_currency' => null, 'reduction_amount' => null)), 'cartHasTax' => '23', 'cartVoucher' => array('id_cart_rule' => null, 'id_customer' => null, 'date_from' => null, 'date_to' => null, 'description' => null, 'quantity' => null, 'quantity_per_user' => null, 'priority' => null, 'partial_use' => null, 'code' => null, 'minimum_amount' => null, 'minimum_amount_tax' => null, 'minimum_amount_currency' => null, 'minimum_amount_shipping' => null, 'country_restriction' => null, 'carrier_restriction' => null, 'group_restriction' => null, 'cart_rule_restriction' => null, 'product_restriction' => null, 'shop_restriction' => null, 'free_shipping' => null, 'reduction_percent' => null, 'reduction_amount' => null, 'reduction_tax' => null, 'reduction_currency' => null, 'reduction_product' => null, 'reduction_exclude_special' => null, 'gift_product' => null, 'gift_product_attribute' => null, 'highlight' => null, 'active' => null, 'date_add' => null, 'date_upd' => null, 'id_lang' => null, 'name' => null, 'id_cart' => '40512', 'obj' => object(CartRule), 'value_real' => '0', 'value_tax_exc' => '0', 'id_discount' => null))) in CartPresenter.php line 481
  3. at CartPresenter->getTemplateVarVouchers(object(Cart)) in CartPresenter.php line 409
  4. at CartPresenter->present(object(Cart)) in OrderPresenter.php line 117
  5. at OrderPresenter->getProducts(object(Order)) in OrderPresenter.php line 86
  6. at OrderPresenter->present(object(Order)) in HistoryController.php line 73
  7. at HistoryControllerCore->getTemplateVarOrders() in HistoryController.php line 53
  8. at HistoryControllerCore->initContent() in Controller.php line 253
  9. at ControllerCore->run() in Dispatcher.php line 428
  10. at DispatcherCore->dispatch() in index.php line

    i tutaj ja się was zapytuje moi drodzy, o co może chodzić ? Nie oczekuje rozwiązania a jedynie a jedynie jakichś porad co do kontekstu tych ostrzeżeń i błędów. Burzy mózgów :)))

Dziękuję i życzę miłego weekendu :)

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...