Hey, when installing location on a site where entity translation is enabled:

Fatal error: Unsupported operand types in entity_translation/entity_translation.module on line 951

Entity translation is iterating in hook_field_info_alter through the field types and breaks :/ The weird thing is that i have just location enabled and after a really quick look only location_cck and location_entity are implementing hook_field_info. Any idea?


Stalski’s picture

I have the same issue :(

When debugging, it works when I take out "fieldable_panels_pane" from the loop, like:

  // Provide defaults for translation info.
  foreach ($entity_info as $entity_type => $info) {
    if (in_array($entity_type, array('fieldable_panels_pane'))) {
muschpusch’s picture

Hey Stalski! It's some extra module which breaks it. I remember when disabling all additional location modules it worked but if you have the chance, switch away from location and use geofield.

Jānis Bebrītis’s picture