hi,
drupal 11.4.7
php 8.3.6

composer update drupal/commerce -W
- Upgrading commerceguys/addressing (v2.2.5 => v2.3.1)
- Upgrading commerceguys/intl (v2.0.7 => v2.1.0)
- Upgrading doctrine/lexer (3.0.1 => 3.0.2)
- Upgrading drupal/commerce (3.3.9 => 3.3.10)
- Upgrading twig/html-extra (v3.28.0 => v3.29.0)
- Upgrading twig/twig (v3.28.0 => v3.30.0)

and update other .....

website not loaded and show The website encountered an unexpected error. Try again later.

drush ws
TypeError: Twig\Runtime\EscaperRuntime::escape(): Argument #4 ($autoescape) must be of type bool, null given, called in /home/....../public_html/web/sites/default/files/php/twig/6ab

Comments

bolaghi created an issue. See original summary.

bolaghi’s picture

The same problem occurred on my other site with this error

drush ws

TypeError: Twig\Runtime\EscaperRuntime::escape(): Argument #4 ($autoescape) must be of type bool, null given, called in /home/....../public_html/web/sites/default/files/php/twig/

bolaghi’s picture

Priority: Major » Critical
ivnish’s picture

ivnish’s picture

Status: Active » Closed (won't fix)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.