Error in Drupal 9.0.2:
Uncaught PHP Exception 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\\menu_multilingual\\Menu\\MenuMultilingualLinkTreeModifier::filterLinksInRenderArray. See https://www.drupal.org/node/2966725"

I have created a first patch. Maybe this one will be helpful.

Comments

thomas.stadelmann created an issue. See original summary.

thomas.stadelmann’s picture

Issue summary: View changes
StatusFileSize
new834 bytes
matsbla’s picture

StatusFileSize
new864 bytes

Thanks, looks great!

Just fix some few coding standards.

matsbla’s picture

matsbla’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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