WPIntell

Source evidence

Fatal Twig\Extension\DebugExtension Timber 1.21.0

Timber · support · 2022-10-20T12:26:00+00:00

complaintsentiment
highseverity
1.0relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 25 rows with source links

12.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
adrienmedia unresolved
Hi, I see a problem with version 1.21.0 of Timber. A fatal “Fatal error: Uncaught LogicException: Unable to register extension “Twig\Extension\DebugExtension” as it is already registered.” is triggered. In fact, this extension can sometimes be added manually in certain themes.. It possible to test if DebugExtension is not already added before adding it in Timber? Very strange…. Versie 1.20.0 fixes the fatal error. I see this problem in version 1.21.0: https://postimg.cc/zHndY3z4/ On 1.20.0 is ok. For what it’s worth, 1.21 includes an update to Twig (from v1.41 to v1.44), which has broken custom code on a number of sites for me. Themes that make customizations to Twig are at risk for this. (For example, I had a custom implementation of \Twig\Loader\LoaderInterface that raises a fatal error in Timber 1.21 because the interface definition in Twig changed.) Thanks for the information. I find strange is that this version of Timber does not come as an available update. It was installed automatically on few sites for me. A throwback from Team Timber? This should be fixed with Timber version 1.22.0.

Comments

5 shown
Kees Lamper 2022-10-21T07:45:00+00:00

Very strange…. Versie 1.20.0 fixes the fatal error.

adrienmedia 2022-10-21T13:06:00+00:00

I see this problem in version 1.21.0: https://postimg.cc/zHndY3z4/ On 1.20.0 is ok.

matthewgruhn 2022-10-21T17:11:00+00:00

For what it’s worth, 1.21 includes an update to Twig (from v1.41 to v1.44), which has broken custom code on a number of sites for me. Themes that make customizations to Twig are at risk for this. (For example, I had a custom implementation of \Twig\Loader\LoaderInterface that raises a fatal error in Timber 1.21 because the interface definition in Twig changed.)

adrienmedia 2022-10-24T07:30:00+00:00

Thanks for the information. I find strange is that this version of Timber does not come as an available update. It was installed automatically on few sites for me. A throwback from Team Timber?

Lukas G. 2022-11-24T08:53:00+00:00

This should be fixed with Timber version 1.22.0.