Error: Call to a member function getEntity() on null for anonymous users

Created on 19 October 2023, 9 months ago
Updated 20 October 2023, 8 months ago

Problem/Motivation

For anonymous users, seeing this issue,

Error: Call to a member function getEntity() on null in node_co_authors_entity_field_access() (line 146 of /var/www/html/docroot/modules/contrib/node_co_authors/node_co_authors.module).

Steps to reproduce

  1. Enable module & create couple of article type content with co-authors.
  2. Create a view, showing title, author & co-author and Add filters of Co-author.
  3. For authenticated users, its working fine. But for anonymous user seeing the error & page is broken.

Proposed resolution

Fix & create a patch

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇮🇳India heykarthikwithu Bengaluru 🌍

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024