Issue #3053598 by alexismmd: After update to drupal, Assertions in \Drupal\Template\TwigExtension error