Problem/Motivation

After the security upgrade to views-7.x-3.8, I now receive the following error on some pages:

Notice: Undefined property: entity_translation_handler_field_label::$entities in entity_translation_handler_field_label->render() (line 67 of /var/www/sites/all/modules/contrib/entity_translation/views/entity_translation_handler_field_label.inc).

If I roll views back to 7.x-3.7, this message goes away.

Proposed resolution

Unknown at this time.

Remaining tasks

  1. Investigate what's causing this error
  2. Find a work-around, write a patch
  3. Review and commit

User interface changes

Unknown at this time.

API changes

Unknown at this time.

Comments

MXT’s picture

I have the same issue.

The notice appears randomly and disappears on cache clear (all)

I have also a potential related:

Fatal error: Call to a member function getLabel() on a non-object in /var/www/mysite/sites/all/modules/contrib/entity_translation/views/entity_translation_handler_field_label.inc on line 71
pushparaj86’s picture

Am facing the same issues while on update

Notice: Undefined property: entity_translation_handler_field_label::$entities in entity_translation_handler_field_label->render() (line 67 of /var/www/html/repos/abrepr/sites/all/modules/contrib/entity_translation/views/entity_translation_handler_field_label.inc).