Go to add a gallery and input its title and description, but always get the error message below after clicking the save button:

* Notice: Undefined index: media_gallery_format in locale_field_node_form_submit() (line 405 of .../modules/locale/locale.module).
* Notice: Undefined index: media_gallery_lightbox_extras in locale_field_node_form_submit() (line 405 of .../modules/locale/locale.module).
* Notice: Undefined index: media_gallery_columns in locale_field_node_form_submit() (line 405 of .../modules/locale/locale.module).
* Notice: Undefined index: media_gallery_rows in locale_field_node_form_submit() (line 405 of .../modules/locale/locale.module).
* Notice: Undefined index: media_gallery_image_info_where in locale_field_node_form_submit() (line 405 of .../modules/locale/locale.module).
* Notice: Undefined index: media_gallery_allow_download in locale_field_node_form_submit() (line 405 of .../modules/locale/locale.module).
* Notice: Undefined index: media_gallery_expose_block in locale_field_node_form_submit() (line 405 of .../modules/locale/locale.module).
* Notice: Undefined index: media_gallery_block_columns in locale_field_node_form_submit() (line 405 of .../modules/locale/locale.module).
* Notice: Undefined index: media_gallery_block_rows in locale_field_node_form_submit() (line 405 of .../modules/locale/locale.module).

Any help?

Comments

astra’s picture

Title: Can't save a gallery » Errors to save and view media gallery nodes

Try clicking a gallery node link to view it, but can't display the theme Danland I'm using and also get a fatal error:

Call to undefined function media_include_browser_js() in .../sites/all/modules/media_gallery/media_gallery.module on line 370

Any help to fix it?

sneeuwgetsie’s picture

Same problem for me.

effulgentsia’s picture

Title: Errors to save and view media gallery nodes » When viewing a gallery, fatal error: Call to undefined function media_include_browser_js()
Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Status: Active » Fixed

The original issue about locale notices is a duplicate of #1029486: Undefined indexes in locale_field_node_form_submit(), and fixed.

The issue described in #1 was fixed in #1122330: Media module moved files around, need to update references. Please use Media beta4 and Media Gallery dev (sorry about that, we'll be releasing Media Gallery beta5 soon).

Status: Fixed » Closed (fixed)

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