I have an app that runs fine in dev mode, but when I run it in production this pops up:
Fatal error: Class \'Twig\\Extension\\AbstractExtension\' not found in C:
Symfony\Bridge\Twig\Extension\LogoutUrlExtension
extends Twig\Extension\AbstractExtension\AbstractExtension
(which seemed to be missing for you).
That file is part of the twig/extensions
package, so composer require twig/extensions
should to the trick.
Why twig/extensions
isn't required by the Symfony Twig Bridge I don't know. (The requires
section on packagist.org only mentions twig/twig
)