Closed (duplicate)
Project:
IMCE
Version:
8.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2020 at 20:04 UTC
Updated:
8 Jun 2020 at 22:01 UTC
Jump to comment: Most recent
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\imce\ImceFileField::preRenderWidget. See https://www.drupal.org/node/2966725 in Drupal\Core\Render\Renderer->doTrustedCallback() (line 96 of /srv/www/htdocs/kacb9/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php).
This is on Drupal 9.0 on a Linux platform. Help please.
Comments
Comment #2
tjtj commentedComment #3
thalles