Closed (fixed)
Project:
Node Gallery
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2010 at 08:56 UTC
Updated:
20 Dec 2010 at 19:10 UTC
warning: array_chunk() expects parameter 1 to be array, null given in /home/mysite/mysite.com/sites/all/modules/node_gallery/node_gallery.pages.inc on line 158.
is given when trying to upload images using plupload. Works fine with admin, any ideas?
Comments
Comment #1
bjsomers commentedChanging to fixed. Didn't have the pfupload permission settings enabled for other roles.
Comment #2
scroogie commentedIt's still a bug, there should be no error message if a permission is not given, thanks for reporting. When exactly did the error message appear? The location is inside the manage images form, so I'm wondering.
Comment #3
justintime commentedFound and fixed in dev. Changing title to reflect actual bug.
Comment #4
justintime commentedI also just committed code that will display an error, and won't display the plupload widget if 'bulk upload files with plupload' permissions aren't available to the user.
Comment #5
bjsomers commentedThat's great Justin, thanks for the quick response. I'm a total newbie, how do I get the updated code to install? The dev version looks like it was last updated on Dec. 3rd.
Comment #6
justintime commentedEasiest thing is to just wait for alpha2 to be released and install that. If it were a critical fix, you could wait for the build bot to rebuild the 3.x-dev release, or follow the CVS instructions at http://drupal.org/node/330271/cvs-instructions/DRUPAL-6--3.
But, since you've got the permissions set right now, I'd just wait for the next official release and install that.