When adding two "multiple file fields" with "unlimited files" I got this error "Undefined index: #file em bootstrap_file_widget_multiple()".
Searching the drupal bugs, found this one https://www.drupal.org/node/1871666 but, despite been similar, it does not resolved the problem.

Comments

nimbfire created an issue. See original summary.

nimbfire@gmail.com’s picture

After changing the line 51 of bootstrap/templates/file/file-widget-multiple.func.php from

if ($widget['#file'] == FALSE) {

to

if (isset($widget['#file']) && $widget['#file'] == FALSE) {

and stoped using the Display Suite for that form, the errors stopped =)

markhalliwell’s picture

Title: Undefined index: #file em bootstrap_file_widget_multiple() » Undefined index: #file in bootstrap_file_widget_multiple()
Version: 7.x-3.5 » 7.x-3.x-dev
Related issues: +#1871666: Notice: Undefined index: #file in theme_file_widget_multiple() (line 838 of /public_html/modules/file/file.field.inc

  • markcarver committed 862671a on 7.x-3.x authored by nimbfire
    Issue #2710351 by nimbfire, markcarver: Undefined index: #file in...
markhalliwell’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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