The website encountered an unexpected error. Please try again later.
Drupal\Core\Security\UntrustedCallbackException: Render #lazy_builder callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was Drupal\drupalfr_user\Service\MemberBadgeBuilder::build. See https://www.drupal.org/node/2966725 in Drupal\Core\Render\Renderer->doTrustedCallback() (line 96 of core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php).
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #lazy_builder callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was Drupal\drupalfr_user\Service\MemberBadgeBuilder::build. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781)
Drupal\Core\Render\Renderer->doCallback('#lazy_builder', Array, Array) (Line: 355)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 156)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 157)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 171)
Drupal\Core\Render\Renderer->renderPlaceholder('callback=drupalfr_user.member_badge_builder%3Abuild&args%5B0%5D=1&token=sjrLnPVfnQqYdycNhKkE-NbYsdk_9w8-v1qVRZgSuGg', Array) (Line: 693)
Drupal\big_pipe\Render\BigPipe->renderPlaceholder('callback=drupalfr_user.member_badge_builder%3Abuild&args%5B0%5D=1&token=sjrLnPVfnQqYdycNhKkE-NbYsdk_9w8-v1qVRZgSuGg', Array) (Line: 547)
Drupal\big_pipe\Render\BigPipe->sendPlaceholders(Array, Array, Object) (Line: 305)
Drupal\big_pipe\Render\BigPipe->sendContent(Object) (Line: 112)
Drupal\big_pipe\Render\BigPipeResponse->sendContent() (Line: 381)
Symfony\Component\HttpFoundation\Response->send() (Line: 20)