Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello . I have problem with new security update of Views 7.x-3.8 .
https://drupal.org/node/2271809
I use relation with Entity translation in view. In error log :
Fatal error: Call to a member function getLabel() on a non-object in sites/all/modules/entity_translation/views/entity_translation_handler_field_label.inc on line 71
Comments
Comment #1
plachPlease see https://www.drupal.org/project/entity_translation#bugfixing.
Comment #2
ciss CreditAttribution: ciss at yousign GmbH commentedIn our case this seems to have resulted from stale entries in the entity_translation table:
Comment #3
ciss CreditAttribution: ciss at yousign GmbH commentedSetting to active and normal. I'm not sure wether this is something that needs to be caught inside the handler, or should be dealt with in a different way (or not at all).
Comment #4
ciss CreditAttribution: ciss at yousign GmbH commentedComment #5
ciss CreditAttribution: ciss at yousign GmbH commentedDuring development we often end up with lots of stale entries as requests are often interrupted. With these entries present it becomes impossible to use entity translation views.
We've been using the following code to prune these stale entries: