In file_browser.module, function file_browser_form_alter a class in the wrapper attributes is assigned as a string insted of a form.
We have seen this error when embedding the file browser as modal in CKEditor with the bootstrap theme active.
The error showed in \Drupal\bootstrap\Utility\Atributes::getClasses() which requires an array in the class attribute.
Attached is a patch that fixes the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| file_browser_class_fix.patch | 448 bytes | Denis Danielyan |
Comments
Comment #5
samuel.mortensonThanks! Looks good to me.