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.
After editing the cart view and adding my custom fields to it, they appear on the cart form. But together, comes plenty of these error messages:
Notice: Undefined index: #parents in field_default_form() (line 49 of /modules/field/field.form.inc).
Tested on Drupal 7.22 and Commerce Kickstart 7.x-2.6
Comment | File | Size | Author |
---|---|---|---|
#1 | commerce_line_item_cart_form-fixed-parents-1985156-0.patch | 1.02 KB | halth |
Comments
Comment #1
halthHere's a patch that fixes this error messages.
Comment #2
zengenuity CreditAttribution: zengenuity commentedThanks. Committed: http://drupalcode.org/project/commerce_line_item_cart_form.git/commit/a7...
Comment #3
halthThank you @zengenuity!