twigphp / Twig

Twig, the flexible, fast, and secure template language for PHP
https://twig.symfony.com/
BSD 3-Clause "New" or "Revised" License
8.08k stars 1.24k forks source link

Call to undefined method Twig\Extension\CoreExtension::dateConverter() #4030

Closed mmarton closed 3 months ago

mmarton commented 3 months ago

Hi!

just updated my project:

twig/extra-bundle: v3.9.0 twig/intl-extra: v3.9.0 twig/twig: v3.8.0 (kept back by stimulus-bundle)

now this {{ date|format_datetime(pattern='EEEE HH:mm') }} throws the exception: Call to undefined method Twig\Extension\CoreExtension::dateConverter()

it was working fine with v3.8.0

kl3sk commented 3 months ago

Same problem the method dateConverter doesn't exists in Twig\Extension\CoreExtension as v3.9.0

Benedikt-Brunner commented 3 months ago

https://github.com/twigphp/Twig/pull/4027 fixed with 3.9.2

fabpot commented 3 months ago

Fixed and tag added.