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.

CommentFileSizeAuthor
#2 undefined_index-2780483-1.patch1010 bytesjagundez
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jagundez created an issue. See original summary.

jagundez’s picture

FileSize
1010 bytes
serg2’s picture

using this patch resolves the notice

  • heshanlk committed ffba714 on 8.x-1.x authored by jagundez
    Issue #2780483 by jagundez: Undefined index: <machine_name> in Drupal\...
heshanlk’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.