AssertionError in #lazy_builder callback

Created on 5 April 2024, 6 months ago

Problem/Motivation

In some circumstances (still to be defined), we're getting the following error:

AssertionError: #lazy_builder callbacks must return a valid renderable array, got string from masquerade.callbacks:renderSwitchBackLink in assert() (line 403 of core/lib/Drupal/Core/Render/Renderer.php)

Context:

  • Masquerade version 8.x-2.0-rc4
  • Drupal 10.2.4
  • "Switch back" link has been added to a custom-rendered user account block

Steps to reproduce

Client reports the problem, but currently unable to reproduce myself.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇧🇪Belgium svendecabooter Gent

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