🇫🇷France eliechoufani Marseille, Beirut
Hello,
I had the same problème on Drupal 10.3.5
Trying the patch in #2 didn't solve the problem because the http 404 error request was overriding the response.
So I did this patch that's working for my use case, maybe it needs more testing
🇫🇷France eliechoufani Marseille, Beirut
Hello, I had the error
[error] 8924#8924: *155212268 FastCGI sent in stderr: "PHP message: Uncaught PHP Exception Twig\Error\RuntimeError: "The "Drupal\Core\Template\TwigExtension" extension is not enabled." at /home/XXXXX/www/web/themes/contrib/stable/templates/field/time.html.twig line 22"
after I upgraded Drupal to 10.2.1
And I fixed it with the attached patch, maybe it needs more testing.
I am using
"drupal/twig_extender": "5.1.0",
"drupal/twig_extender_extras": "5.1.0",
in my project.
Good luck.