Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Every time a user clicks "Checkout" the following error is displayed at the top of the checkout page:
Notice: Undefined index: qty in uc_cart_update_item_object() (line 1634 of /home2/mkjuncti/public_html/mvhouse/sites/all/modules/ubercart/uc_cart/uc_cart.module).
I'm not sure what information is relevant to help debug this error, so instead of guessing I'll wait to see what - if anything additional - is needed.
Comments
Comment #1
sylvainblot CreditAttribution: sylvainblot commentedI had the same issue, but it happened when trying to remove an item from cart.
I've update to the latest dev version of Ubercart and the error disappeared, but items still can't be removed from the cart...
Comment #2
sygnetica CreditAttribution: sygnetica commentedi have the same problem.
When trying to remove an item from cart:
Notice: Undefined index: qty w uc_cart_update_item_object() (line 1554 of /home/irsapart/public_html/sites/all/modules/ubercart/uc_cart/uc_cart.module).
Ubercat 7.x-3.0-rc3
Hotel Booking 7.x-1.0-beta1
Any idea ?
----------------------------
EDIT: Solution
----------------------------
Comment #3
requiem08 CreditAttribution: requiem08 commentedComment #4
ykyuen CreditAttribution: ykyuen commented1. remove an item problem: duplicate of #1350174
2. Error displayed after clicking "book now": duplicate of #1488622