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.
I see this error in my logs once in a while, and you can see it on other sites by googling "uc_cart.module on line 1614." I can reproduce the error by visiting /uc_ajax_cart/update with nothing in the cart. It's probably triggered by search crawlers, but I suggest adding a condition for $_POST on line 113 un uc_ajax_cart.module:
case 'update':
if($_POST) {
$formValues = array('values' => $_POST);
$cart = new UcAjaxCart();
$items = $cart->getCartContents();
drupal_execute('uc_cart_view_form', $formValues, $items);
print theme('status_messages');
}
break;
Comments
Comment #1
stewart.adam CreditAttribution: stewart.adam commentedThanks for reporting this, tagging issue for inclusion in next release.
Comment #2
stewart.adam CreditAttribution: stewart.adam commentedCommitted to dev.