Problem/Motivation

When trying to use Intense in Drupal 9.0.3, it fails to work once configured. The log message is:

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 intense_pre_render. See https://www.drupal.org/node/2966725 in Drupal\Core\Render\Renderer->doTrustedCallback() (line 96 of /var/www/html/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php).

Steps to reproduce

Install intense and the library. Configure field display with Blazy and Media switcher to "Image to Intense". Visit the page. Get the "The website encountered an unexpected error. Please try again later." message.

Comments

arafalov created an issue. See original summary.

dqd’s picture

Priority: Normal » Major

Confirmed. Since project page states ^9 compatibility and this is a securioty issue, we maybe should raise it to "Major".

gausarts’s picture

Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Fixed

Thank you.

Sorry for inconvenience and getting back ultra late. Other priorities got in the way :)

You are correct for the exact mentioned branch. Nothing else we can do. But we did fix it at DEV normally.

Strange, I didn't receive the intense issues in my inbox. Normally I saw Blazy issues.

Even stranger, this issue reported something which was already fixed 2 months earlier:

Reported issue: 18 Aug 2020 at 08:42

The fix at DEV: June 24, 2020 20:24
https://www.drupal.org/commitlog/commit/83362/5b985800ae1a8e77fb7aa37927...

But I do understand we sometimes missed the DEV version, so no problem :)
The latest release, even late, should close this. Thanks again.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.