Hi I am running dev version of media gallery and media 2.x dev version. When I try to edit the title, description, tags, or license fields for a photo/video in a gallery by selecting "Edit Media" tab, the following errors are displayed.

• Notice: Undefined index: access in _menu_translate() (line 792 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\includes\menu.inc).
• Notice: Undefined index: access in menu_get_item() (line 478 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\includes\menu.inc).
• Notice: Undefined index: access in menu_execute_active_handler() (line 513 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\includes\menu.inc).
• Notice: Undefined index: access in menu_local_tasks() (line 1921 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\includes\menu.inc).
• Notice: Undefined index: access in menu_tree_page_data() (line 1222 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\includes\menu.inc).
• Notice: Undefined index: access in menu_tree_page_data() (line 1222 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\includes\menu.inc).
• Notice: Undefined index: access in menu_tree_page_data() (line 1222 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\includes\menu.inc).

Also, when i view a photo/video and select the "Edit" tab for that individual photo/video, I am shown the following errors:

• Notice: Undefined index: media_edit in drupal_retrieve_form() (line 752 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\includes\form.inc).
• Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'media_edit' not found or invalid function name indrupal_retrieve_form() (line 787 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\includes\form.inc).
• Notice: Undefined index: field_license in media_gallery_form_alter() (line 830 of C:\_BACKUPS\DrupalCore7.12\drupal-7.12\sites\all\modules\media_gallery\media_gallery.module).

Please advise on any thoughts or next steps.

Thanks

Comments

lsolesen’s picture

Category: bug » support
Status: Active » Fixed

Media gallery 1.0-beta7 does not work with the 2.x branch of media unless you apply patches from comment #46 in #1244204: Make media_gallery work with media-7.x-2.x branch. Please try that. If you still experience the issue, please reopen.

oystercrackher’s picture

Status: Fixed » Active

@lsolesen

I had already applied the patch in #46 before creating this issue. I checked functionality again today and issue still exists.

Thanks

lsolesen’s picture

Category: support » bug

Cool. You can try to dig into the code and fix the issues - and then create a patch. Or you can wait until a maintainer has time to do it :) I haven't edited files yet, so I have not seen the errors myself yet.

oystercrackher’s picture

@lsolesen

I am new to Drupal only 1 month so I cannot dig into code yet; I will need to wait for maintainer :) Do you need me to provide some screenshots or something from my end.

Please advise.

Thanks

lsolesen’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I cannot reproduce this. Could you tell exactly what you do - also stating which url you do that from.

lsolesen’s picture

Status: Postponed (maintainer needs more info) » Fixed

Closing. Inactivity.

lsolesen’s picture

Status: Fixed » Closed (cannot reproduce)