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

---

Comments

higherform created an issue. See original summary.

higherform’s picture

Title: WSOD with alinks 2.0.0 » WSOD due to UntrustedCallbackException
Issue summary: View changes
higherform’s picture

Status: Active » Closed (duplicate)
Related issues: +#3171893: ALinks causes security exception after Drupal 8.8
drupaldope’s picture

resolved in the current dev release
https://www.drupal.org/project/alinks/issues/3412674