WSOD due to UntrustedCallbackException

Created on 2 August 2022, over 2 years ago
Updated 18 January 2024, 11 months ago

Problem/Motivation

With Drupal 9.4.4, alinks 2.0.0, both installed by composer, using php 8.1, white screen of death is showing for all node pages:

---

The website encountered an unexpected error. Please try again later.

Drupal\Core\Security\UntrustedCallbackException: Render #post_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was Drupal\alinks\AlinkPostRenderer::postRender. See https://www.drupal.org/node/2966725 β†’ in Drupal\Core\Render\Renderer->doTrustedCallback() (line 96 of core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php).

---

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States higherform

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024