Created on 26 November 2024, 26 days ago

Twig\Error\SyntaxError: An exception has been thrown during the compilation of a template ("Attribute "twig_callable" does not exist for Node "Twig\Node\Expression\FilterExpression".") in "core/themes/stable9/templates/field/field--node--title.html.twig". in Twig\Environment->compileSource() (line 549 of /var/simplesamlphp/vendor/twig/twig/src/Environment.php).

The twig from simplesamlphp takes out and process the twig rendering of the website instead of the twig from drupal.
How can this be set properly ?

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡«πŸ‡·France matoeil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @matoeil
  • πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

    More information is needed:
    - What version of the simpleSAMLphp library are you using, and what version of Twig is it declaring?
    - What version of Drupal are you using, and what version of Twig is it declaring?
    - What methodology are you using that accommodates these versions of Twig (i.e., are you using Composer to install, or are you downloading)?

  • πŸ‡«πŸ‡·France matoeil

    -simplesamlphp 2.2.1 with twig/twig v3.9.3
    -drupal/core 10.3 with twig/twig v3.14.2
    -the simplesamlphp library has been downlaoded

    Updating the library simplesamlphp to 2.3.3(twig/twig v3.14.2) fix the error but i still do not know which twig is used on the site then.

  • πŸ‡ΊπŸ‡ΈUnited States lenlamberg

    I am having a similar problem and I cannot see how to correct it.

    The site returns the following error message:
    Twig\Error\SyntaxError: An exception has been thrown during the compilation of a template ("Attribute "twig_callable" does not exist for Node "Twig\Node\Expression\FilterExpression".") in "__string_template__15e4c2886fb2554f14cf09e05167a91f". in Twig\Environment->compileSource() (line 556 of /home/customer/www/marybethdanielson.com/vendor/twig/twig/src/Environment.php).

    The problem happened as soon as I updated Drupal core to 10.3.10.

    I am using Bootstrap Barrio 5.5.17 with a custom subtheme. I believe that the Twig is #3.14.0. PHP 8.2.26 on the live site.

    The site worked fine before the core upgrade. In addition, the site works fine WITH the upgraded core on my local site. My local site is ddev v1.23.5 and php 8.1.30

    I am not certain what simpleSAMLphp is, but I am posting here because matoeil has a similar error message.

Production build 0.71.5 2024