After updating to Drupal 7.2, this module has completely broke for me...

getting a bunch of

Notice: Trying to get property of non-object in media_gallery_field_formatter_view() 
Notice: Undefined index: entity keys in entity_extract_ids()
Notice: Trying to get property of non-object in media_gallery_node_view_alter()

Comments

gphilippe’s picture

same for me

michèle’s picture

it seems to be a problem of the styles module: http://drupal.org/node/1175008

gphilippe’s picture

but i have style a6 and not a7 and ... it's for media_gallery and not media_tube, the same ?
In my case it was immediatly after migrating from 7.0 to 7.2 of the core..if i return and recreate galleries no more troubles

David_Rothstein’s picture

Status: Active » Postponed (maintainer needs more info)

As per the README.txt, Media Gallery 7.x-1.0-beta5 only works with Styles 7.x-2.0-alpha5; later versions of the Styles module won't work with it.

There will also be a new release of Media Gallery out soon that doesn't require the Styles module.

If you ran into issues immediately after upgrading to Drupal 7.2, is there any chance you did something else at the same time (for example, disabling your site's contrib modules and then reenabling them again after the update)? If so, see the discussion in #1207658: Updating from Drupal 7.2 to 7.4 has broken media_gallery.

lsolesen’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing this as no response has been made, and we are way past 7.2.