I would greatly appreciate if someone can shed some light on the issue which I haven’t been able to figure out for weeks.
Basically, I get this error every time I update a certain content type. It doesn’t happen in other content types.
Warning: Invalid argument supplied for foreach() in DrupalfilePluginFieldFieldWidgetFileWidget->massageFormValues() (line 283 of core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php).
Any advice is greatly appreciated.