Upgrade from 9.5.11 to 10.2.2 fails with twig error

Created on 15 August 2024, 5 months ago

Problem/Motivation

After upgrade, get...
Class Twig_Extension not found in include() modules/devel/src/Twig/Extension/Debug.php

After trying all combinations of versions, the closest I can get is this:


composer update --dry-run --ignore-platform-req=ext-xmlwriter -W
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires twig/extensions ^1.5 -> satisfiable by twig/extensions[v1.5.0, ..., 1.x-dev].
- twig/extensions[v1.5.0, ..., 1.x-dev] require twig/twig ^1.27|^2.0 -> found twig/twig[v1.27.0, ..., 1.x-dev, v2.0.0, ..., 2.x-dev] but it conflicts with your root composer.json require (3.8.0).

Steps to reproduce

Upgrade from 9.5.11 to 10.2.2 with twig_tweak module

💬 Support request
Status

Closed: won't fix

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024