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.
Situation:
I have a custom admin menu for file/add/my-custom-sauce
AND I'm using plupload with media_bulk_upload
Fatal Error:
Recoverable fatal error: Argument 3 passed to file_entity_add_upload() must be of the type array, string given, called in sites/all/modules/contrib/file_entity/file_entity.pages.inc on line 540 and defined in file_entity_add_upload() (line 80 of sites/all/modules/contrib/file_entity/file_entity.pages.inc).
Patch
to fix this and restore the behavior:
see forthcoming patch
Comments
Comment #2
joseph.olstadComment #3
joseph.olstadComment #4
joseph.olstadComment #5
joseph.olstadComment #6
joseph.olstadthis patch is working for us in combination with
#2000934: Allow selection of which folder a file is to on the file/add form
and using multiform and media_bulk_upload with plupload (latest releases)
Following this ckeditor recipe with media and media_ckeditor (lastest version of ckeditor)
Comment #7
joseph.olstadThis patch is required for those using <= php 5.4
Comment #9
joseph.olstad