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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | private-message-2984541-0.patch | 930 bytes | zimphire |
Comments
Comment #2
zimphire commentedComment #3
cosolom commentedPatch works fine. Thanks
Comment #4
zenimagine commentedThank you
Comment #5
zenimagine commentedComment #6
dercheffeWhen will this patch committed into a new beta release? Any plans? THX in advance.
Comment #8
anmolgoyal74 commentedThanks for the patch.
Fixed.
Comment #9
anmolgoyal74 commented