TypeError while placing PrivateMessageInboxBlock via layout builder

Created on 13 March 2025, 24 days ago

Problem/Motivation

While trying to add the private message inbox block via the layout builder to a page manager page I get the following error:

TypeError: Drupal\private_message\Service\PrivateMessageService::getThreadsForUser(): Argument #1 ($count) must be of type int, string given, called in /var/www/html/app/modules/contrib/private_message/src/Plugin/Block/PrivateMessageInboxBlock.php on line 82 in Drupal\private_message\Service\PrivateMessageService->getThreadsForUser() (line 85 of /var/www/html/app/modules/contrib/private_message/src/Service/PrivateMessageService.php).

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇩🇪Germany atropoides Hamburg

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024