I get this error after the installation of the module:
Warning: Invalid argument supplied for foreach() in media_gallery_filter_media_access() (line 1880 of /usr/local/www/drupal7/sites/all/modules/media_gallery/media_gallery.module).
After creating a media gallery there is no "Add media"-link/button.
Media Embedded Media Field (emfield) 7.x-1.0-alpha2+0-dev
Media File entity (file_entity) 7.x-2.0-alpha3+4-dev
Media Media (media) 7.x-2.0-alpha3+28-dev
Media Media Browser Plus for Media 2.x (media_browser_plus) 7.x-3.0-beta2+4-dev
Media Media Bulk Upload (media_bulk_upload) 7.x-2.0-alpha3+28-dev
Media Media Gallery (media_gallery) 7.x-2.x-dev
Media Media Internet Sources (media_internet) 7.x-2.0-alpha3+28-dev
Media Media WYSIWYG (media_wysiwyg) 7.x-2.0-alpha3+28-dev
Media Media WYSIWYG View Mode (media_wysiwyg_view_mode) 7.x-2.0-alpha3+28-dev
Media Media: YouTube (media_youtube) 7.x-2.0-rc4
Comments
Comment #1
Chris CharltonStill getting this error? Even after updating some of modules? (do a backup first, of course)
Comment #3
Moloc CreditAttribution: Moloc commentedFixed php warning.
It occured, whenever there is a empty gallery defined to be displayed as a block.
As there is no response to #1, i guess, the other issue is also resolved.