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.
Hi,
entity_views_handler_area_entity::render_entity() fails to check if the $entity loaded in line 109 is actually loaded. If it's not and comes in as FALSE, this will be passed to entity_access() and from there to entity_metadata_no_hook_node_access(), resulting in the usual "Trying to get property of non-object entity_metadata_no_hook_node_access()" warning.
Comments
Comment #2
ehowland CreditAttribution: ehowland commentedI believe I have the same issue. It showed up after a recent update - presumably after the upgrade to Entity 7.x-1.6
or possibly Views 7.x-3.13
The patch in this issue:
https://www.drupal.org/node/1780646?page=1#comment-8350335
did not document this problem, but I did get a stacktrace by altering applying that patch and then moving the stacktrace and watchdog logging immediately before the following comment:
This is the stacktrace I got.