Error when trying to reset our users' password

Created on 29 November 2023, 11 months ago
Updated 28 July 2024, 3 months ago

Problem/Motivation

Hi Team,

Hoping you can help us out. We have a couple of our internal Drupal site users who have been locked out of their account/forgotten their password. When we navigate using the menu to Manage -> People then find their account and click the "Edit" button to update their password, an error page is shown with the following message:

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

Drupal\Core\Security\UntrustedCallbackException: Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was Drupal\background_image\Form\BackgroundImageForm::preRenderStates. See https://www.drupal.org/node/2966725 in Drupal\Core\Render\Renderer->doTrustedCallback() (line 96 of core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php)."

We haven't changed anything in this space and it appears to be a Drupal core page that shouldn't have any customizations on it.

We don't currently have an internal developer/coder so if you can please assist by providing instructions on how to fix this to a team without coding skills that would be amazing!

Steps to reproduce

Logging into our Drupal editing interface and from the Drupal menus at the top of the screen/interface navigating to Manage -> People then find their account and click the "Edit" button. See screenshot attached for reference.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Closed: outdated

Version

11.0 🔥

Component
User module 

Last updated 3 days ago

Created by

🇦🇺Australia cpower

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