After installing the module and viewing a user, the PrivateMessageService::createRenderablePrivateMessageThreadLink functions throws the error:

Call to undefined method Drupal\user\Entity\User::getOwner()

The entity supplied to the function is a User entity, which does not have a getOwner() function. Since the function is looking for a UserInterface via getOwner(), a simple if will fix this.

CommentFileSizeAuthor
#2 private-message-2984541-0.patch930 byteszimphire

Comments

Zimphire created an issue. See original summary.

zimphire’s picture

StatusFileSize
new930 bytes
cosolom’s picture

Status: Active » Reviewed & tested by the community

Patch works fine. Thanks

zenimagine’s picture

Thank you

zenimagine’s picture

Version: 8.x-2.0-beta15 » 8.x-2.x-dev
dercheffe’s picture

When will this patch committed into a new beta release? Any plans? THX in advance.

anmolgoyal74’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch.
Fixed.

anmolgoyal74’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.