0

I accidentally deleted the field basic_cart_vat from Orders, now I'm receiving an error because I don't have the field.

InvalidArgumentException: Field basic_cart_vat is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 586 of /home/sgpam/www/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php).

  • How can I fix this?
  • Unless you've already updated to Drupal 8.7, try drush entup – Clive May 7 at 15:13
  • Commerce doesn't have a basic_cart_vat field. I see that there's a module called Basic Cart: drupal.org/project/basic_cart, is that what you're using? – Bojan Zivanovic May 8 at 10:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.