scotthooker / commerce_checkout_direct

Defines order types and order item types that go straight to checkout for Drupal Commerce 2.x
7 stars 1 forks source link

Fatal error after "Add to cart" click #2

Open anpolimus opened 6 years ago

anpolimus commented 6 years ago

Hi. I've configured your module to work with my site, but when I'm trying to click on Add to cart button - I'm getting error: Drupal\Core\Entity\EntityStorageException: Field order_items is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 777 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\Core\Entity\ContentEntityBase->get('order_items') (Line: 199) Drupal\commerce_order\Entity\Order->getItems() (Line: 304) Drupal\commerce_order\Entity\Order->clearAdjustments() (Line: 131) Drupal\commerce_order\OrderRefresh->refresh(Object) (Line: 92) Drupal\commerce_order\OrderStorage->doPreSave(Object) (Line: 389) Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 768) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save(Object) (Line: 364) Drupal\Core\Entity\Entity->save() (Line: 90) Drupal\commerce_cart\CartProvider->createCart('checkout_direct', Object) (Line: 206) Drupal\commerce_cart\Form\AddToCartForm->submitForm(Array, Object) call_user_func_array(Array, Array) (Line: 111)

attisan commented 6 years ago

same here