You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @curry684 stated in this comment, if an application requires TwigBundle:6.3 but TwigBridge:6.2, an error will be triggered when the container is compiled.
How to reproduce
I reproduced this issue by only upgrading symfony/twig-bundle to 6.3.
In App_KernelDevDebugContainer.php line 935:
Attempted to call an undefined method named "setLocaleSwitcher" of class "Symfony\Bridge\Twig\AppVariable".
Possible Solution
Set 6.3 as symfony/twig-bridge minimum version in symfony/twig-bundle dependencies seems to fix the issue.
Additional Context
If core members agree with this fix, I can open a PR.
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected
6.3
Description
As @curry684 stated in this comment, if an application requires
TwigBundle:6.3
butTwigBridge:6.2
, an error will be triggered when the container is compiled.How to reproduce
I reproduced this issue by only upgrading
symfony/twig-bundle
to6.3
.And I get the following error
Possible Solution
Set 6.3 as
symfony/twig-bridge
minimum version insymfony/twig-bundle
dependencies seems to fix the issue.Additional Context
If core members agree with this fix, I can open a PR.
The text was updated successfully, but these errors were encountered: