Attempting to add an item to cart, and website encounters an error. Per the logs:
PDOException: SQLSTATE[HY000]: General error: 1364 Field 'line_item_id' doesn't have a default value: INSERT INTO {commerce_line_item} (order_id, type, line_item_label, quantity, created, changed, data) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => product [:db_insert_placeholder_2] => 780-20-257-4WB [:db_insert_placeholder_3] => 1 [:db_insert_placeholder_4] => 1699414659 [:db_insert_placeholder_5] => 1699414659 [:db_insert_placeholder_6] => a:1:{s:7:"context";a:3:{s:11:"product_ids";a:1:{i:0;s:3:"526";}s:19:"add_to_cart_combine";i:1;s:4:"view";a:4:{s:9:"view_name";s:14:"select_luggage";s:12:"display_name";s:6:"page_2";s:10:"human_name";s:14:"Select Luggage";s:4:"page";N;}}} ) in drupal_write_record() (line 7396 of /home2/jpm/public_html/alaska/includes/common.inc).
Closed: works as designed
1.4
Checkout