Twig template not defined, LoaderError

Created on 5 May 2023, over 1 year ago
Updated 9 June 2023, over 1 year ago

Problem/Motivation

After upgrading drupal core (with dependencies) through composer from 9.5.8 to 9.5.9, I can't access the edit or add form for any node and any content type (wsod).
Apache server throws this message :

Twig\Error\LoaderError: Template "__TwigTemplate_3508b5f158b38172f6c396d959466ebe53f2296ab8e802b67c8a77a26ecc2dc4" is not defined. in Twig\Loader\ChainLoader->getCacheKey() (line 98 of /home/my_website/public_html/recommended-project/vendor/twig/twig/src/Loader/ChainLoader.php).

I have tried to simply flush caches as it seems to be a solution for many people.
I have tried through drush cr and drush cc (theme registry or render).
I have tried through URL core/rebuild.php.
I have tried by truncating tables cache_.
I have tried to debug Twig (services.yml, debug true, auto-reload true, cache false).
Nothing has worked for the moment...
Thanks for any help here.

🐛 Bug report
Status

Closed: duplicate

Version

9.5

Component
Theme 

Last updated about 12 hours ago

Created by

🇫🇷France Toki Caen, Normandy

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024