Unable to access account pages

Created on 26 January 2025, 2 months ago

Since updating the module to the latest version, when I visit a user account page, I have the error below in the logs. On all account pages, except my own account page.

The website has encountered an unexpected error.

TypeError: Drupal\private_message\Service\PrivateMessageService::Drupal\private_message\Service\{closure}(): Argument #1 ($user) must be of type Drupal\user\UserInterface, Drupal\Core\Session\AccountProxy given in Drupal\private_message\Service\PrivateMessageService->Drupal\private_message\Service\{closure}() (line 397 of /home/clients/481ecb1f0f3aebfa21480b334df59d23/sites/example.com/modules/contrib/private_message/src/Service/PrivateMessageService.php).

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡«πŸ‡·France zenimagine

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

Comments & Activities

Production build 0.71.5 2024