Closed (duplicate)
Project:
Multiupload Imagefield Widget
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2012 at 08:09 UTC
Updated:
3 Aug 2012 at 21:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
emberhxc commentedGetting the exact same error here, with both 1.0 and 1.x-dev.
Also returns the same error when i try to upload images, and when i remove them. It always displays a notice for each image i try to upload (if i try to upload 10 images, i get 10 notices all at once).
The images seem to upload fine, however. But it'll be a real nightmare when users get to try and do it...
Comment #2
jpwarren00 commentedFound the source of this bug in Multiupload Filefield Widget module where the missing element index is being passed to file_managed_file_process() which throws the error. This patch adds the index if it's missing with a NULL value, might not be the best way to fix it, but it does work.
I'm surprised this didn't show up in the Multi Filefield issue queue as it definitely happens there as well.
NOTE: This is the patch for the dependency where the bug is, not for Multiupload Imagefield Widget.
Comment #3
emberhxc commentedthanks jpwarren00, worked for me :)
Comment #4
lmeurs commentedDuplicate of #1548502: Notice: Undefined index: #size in file_managed_file_process() (line 446 of .../file.module).
Comment #5
woop_light commentedThanks jpwarren00
Comment #6
thatjustin commented+1. Thanks, worked for me.
Comment #7
pomliane commentedIf it's a duplicate of #1548502: Notice: Undefined index: #size in file_managed_file_process() (line 446 of .../file.module)., then let's close it.