Hi there,

This is my first post within 'issues department' and I hope I am not barking at the wrong tree :)

I am experiencing problems with Media Gallery module 7.x-1.0-beta8 in Drupal 7 (have also installed modules Media, Media, Browser Plus, Media Internet Sources and Media YouTube).

When I try adding a gallery (add content/Gallery/) a new page opens with a bunch of error messages, like these:

  • Notice: Undefined index: media_gallery_columns in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_columns in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_rows in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_rows in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_image_info_where in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_image_info_where in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_allow_download in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_allow_download in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_format in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_format in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: #language in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_expose_block in media_gallery_form_media_gallery_node_form_alter() (line 938 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_expose_block in media_gallery_form_media_gallery_node_form_alter() (line 943 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_block_columns in media_gallery_form_media_gallery_node_form_alter() (line 938 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_block_columns in media_gallery_form_media_gallery_node_form_alter() (line 943 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_block_rows in media_gallery_form_media_gallery_node_form_alter() (line 938 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_block_rows in media_gallery_form_media_gallery_node_form_alter() (line 943 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).

When I create a new gallery a page opens with the name of the gallery and with the following error messages:
Notice: Undefined p

  • roperty: stdClass::$media_gallery_media in media_gallery_node_load() (line 207 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined property: stdClass::$media_gallery_media in media_gallery_node_load() (line 207 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Warning: array_filter() expects parameter 1 to be array, null given in media_gallery_view() (line 252 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined property: stdClass::$media_gallery_columns in media_gallery_view() (line 298 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined property: stdClass::$media_gallery_rows in media_gallery_view() (line 299 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Warning: Division

by zero in pager_default_initialize() (line 281 of /var/www/vhosts/x/includes/pager.inc).

Added media isn't uploaded and what I get after adding media are more error messages without a gallery created.

Notice: Undefined property: stdClass::$media_gallery_

  • media in media_gallery_node_load() (line 207 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_columns in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_columns in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_rows in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_rows in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_image_info_where in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_image_info_where in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_allow_download in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_allow_download in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_format in media_gallery_form_media_gallery_node_form_alter() (line 911 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_format in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: #language in media_gallery_form_media_gallery_node_form_alter() (line 916 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_expose_block in media_gallery_form_media_gallery_node_form_alter() (line 938 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_expose_block in media_gallery_form_media_gallery_node_form_alter() (line 943 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_block_columns in media_gallery_form_media_gallery_node_form_alter() (line 938 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_block_columns in media_gallery_form_media_gallery_node_form_alter() (line 943 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_block_rows in media_gallery_form_media_gallery_node_form_alter() (line 938 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_gallery.module).
  • Notice: Undefined index: media_gallery_block_rows in media_gallery_form_media_gallery_node_form_alter() (line 943 of /var/www/vhosts/x/sites/all/modules/media_gallery/media_

gallery.module).

Is there a solution to this issue?

Thank you all.

Comments

DavidoffC’s picture

Issue summary:View changes

Some minor corrections

FreeXenon’s picture

I am having the same issue.