Closed (fixed)
Project:
Node Co-Authors
Version:
1.1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Oct 2023 at 09:53 UTC
Updated:
3 Nov 2023 at 12:49 UTC
Jump to comment: Most recent
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).
Fix & create a patch
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
sarwan_verma commentedComment #4
shreya_th commentedComment #5
dieterholvoet commented@sarwan_verma I highly doubt you tested that change: on the next line
$entity->getOwnerId()is called, which will throw another error if$entityisNULL. I'm not granting credit for this.Comment #7
dieterholvoet commentedComment #8
dieterholvoet commentedThanks for reporting!
Comment #9
dieterholvoet commented