Twig: Cannot redeclare class Twig_Node
I’m getting this error after upgrade from Symfony 3.3.0 to Symfony 3.3.1
(1/1) FatalErrorException
Compile Error: Cannot redeclare class Twig_Node
in classes.php (line 21780)
Here the versions:
symfony/symfony v3.3.1 The Symfony PHP framework
twig/extensions v1.5.0 Common additional features for Twig that do not directly belong in core
twig/twig v1.34.1 Twig, the flexible, fast, and secure template language for PHP
I cleared cache, I reinstalled all vendors, I deleted the bootstrap.app.cache file, but the error still exits.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 17 (7 by maintainers)
Can you please check if #2507 fixes the issue for you?
@nicolas-grekas here is the gist https://gist.github.com/anacona16/747f13eb26fc2bdf98ef85691d656e3d#file-classes-php-cache-L21780
Line # 21780