I found the code points to a non existing column on the table uc_i18n_orders_products on line 435.

    case 'delete':
      db_query("DELETE FROM {uc_i18n_orders} WHERE order_id = %d", $arg1->order_id);
      foreach ($arg1->products AS $i => $product) {
        db_query("DELETE FROM {uc_i18n_order_products} WHERE order_id = %d", $product->order_product_id);
      }

It should be:

    case 'delete':
      db_query("DELETE FROM {uc_i18n_orders} WHERE order_id = %d", $arg1->order_id);
      foreach ($arg1->products AS $i => $product) {
        db_query("DELETE FROM {uc_i18n_order_products} WHERE order_product_id = %d", $product->order_product_id);
      }

Comments

splash112’s picture

Status: Active » Closed (fixed)

Many thanks!
Fixed, will be in dev in a couple of hours.