Account created on 19 July 2005, over 19 years ago
#

Merge Requests

Recent comments

πŸ‡ΏπŸ‡¦South Africa foxtrotcharlie

I've also come across this recently when resolving deprecations in custom modules after updating Drupal to 10.3.5. This one in particular was causing over 1800 deprecation warnings in a custom theme:

Since twig/twig 3.12: Getting node "filter" on a "Twig\Node\Expression\FilterExpression" class is deprecated.

My understanding is that this is a bug in Drupal Core, not the custom module, due to the way that core takes over escaping of variables printed in Twig templates, so every variable that is printed is auto escaped, and uses Drupal's custom `drupal_escape` instead of Twig's `escape` filter, which hasn't been updated to resolve the deprecation. This causes every printed variable to trigger this error!

Ideally, one would want upgrade_status to be able to determine whether an error is actually coming from the custom module vs Drupal Core.

Production build 0.71.5 2024