Error: Class "Twig_Extension" not found in include()

Created on 28 June 2025, 5 days ago

I am encountering an issue when trying to install this module.

Steps Reproduce:

1. Installed the enabled module using Composer with the command: composer require 'drupal/entity_twig:1.0.x-dev@dev'.

2: When trying to enable this module, it throws an error mentioned below.

Error: Class "Twig_Extension" not found in include() (line 9 of modules\contrib\entity_twig\src\TwigExtension.php).

Note I am using 10.4.8 with PHP 8.3.13

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India aman_lnwebworks

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024