Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Error:
Undefined index: in Drupal\video\Plugin\Field\FieldWidget\VideoEmbedWidget->formElement() (line 313 of modules/contrib/video/src/Plugin/Field/FieldWidget/VideoEmbedWidget.php)
I found this error with the machine name of one video field type. I couldn't find out more about from where the error is coming originally so, while found the base of the issue, I wrapped the variable between if statement to avoid the notice. I hope it helps.
Comment | File | Size | Author |
---|---|---|---|
#2 | undefined_index-2780483-1.patch | 1010 bytes | jagundez |
Comments
Comment #2
jagundez CreditAttribution: jagundez as a volunteer and commentedComment #3
serg2 CreditAttribution: serg2 commentedusing this patch resolves the notice
Comment #5
heshanlk