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.
The error above rises when the getSelectedOptions-function in WidgetBase receives an array of items whereby the items are empty. This occurs when you try to edit the field settings of a field which references an empty vocabulary.
Comment | File | Size | Author |
---|---|---|---|
#2 | select_or_other-array_flip-2.patch | 666 bytes | lammensj |
Comments
Comment #2
lammensj CreditAttribution: lammensj at iO commentedOptimized previous patch.
Comment #4
DuneBLIn confirm that this patch is doing the job!!
Thank you
Comment #5
lammensj CreditAttribution: lammensj at iO commentedNo problem :)
Comment #7
legolasboCommitted and pushed to 8.x-1.x. Thanks for your contribution both!