Private Message module fails with TypeError on /private-messages after Drupal 11.2.2 update

Created on 7 July 2025, about 15 hours ago

Since the update to Drupal 11.2.2, the /private-messages page displays:

The website encountered an unexpected error.

The module is therefore unusable.

In the logs, I have:

TypeError: Drupal\Core\Render\Renderer::doRender(): Argument #1 ($elements) must be of type array, null given, called in /home/clients/4814df4fd546df4569d23/sites/example.com/core/lib/Drupal/Core/Render/Renderer.php on line 222 in Drupal\Core\Render\Renderer->doRender() (line 265 of /home/clients/481ecb1f0f3aebfa21480b334df59d23/sites/syngamy.life/core/lib/Drupal/Core/Render/Renderer.php).

🐛 Bug report
Status

Active

Version

4.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