Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using the most recent 1.* Twig version (1.42.0, session_flash issue) #1244

Open
DaniFuchoBasetis opened this issue Jun 5, 2019 · 1 comment

Comments

@DaniFuchoBasetis
Copy link

The current bundle (version 3.3.0) uses session_flash and something has changed in the most recent version twig/twig (1.42.0) that raises an error.

Workaround: Forcing my site's composer.json to explicitely use twig/twig 1.41.0 temporary solves it.

@jmeyo
Copy link
Contributor

jmeyo commented Jul 17, 2019

Just to confirm that I had the same problem, can't really dig into it, but the error was not clear indeed:

Unknown "flash" function. Did you mean "sonata_flashmessages_get", "sonata_flashmessages_types", "mopa_bootstrap_flash_mapping"?

Workaround is fine for me for now

MKodde added a commit to OpenConext/Stepup-RA that referenced this issue Jan 6, 2020
There is an incompatibility with MopaBootstap bundle yielding fatal errors
when the flash messages are rendered.

The current workaround is to downgrade to 1.41.0

phiamo/MopaBootstrapBundle#1244
MKodde added a commit to OpenConext/Stepup-SelfService that referenced this issue Jan 6, 2020
There is an incompatibility with MopaBootstap bundle yielding fatal
errors
when the flash messages are rendered.

The current workaround is to downgrade to 1.41.0

phiamo/MopaBootstrapBundle#1244
MKodde added a commit to OpenConext/Stepup-SelfService that referenced this issue Jan 6, 2020
There is an incompatibility with MopaBootstap bundle yielding fatal
errors
when the flash messages are rendered.

The current workaround is to downgrade to 1.41.0

phiamo/MopaBootstrapBundle#1244
MKodde added a commit to OpenConext/Stepup-SelfService that referenced this issue Jan 6, 2020
There is an incompatibility with MopaBootstap bundle yielding fatal
errors
when the flash messages are rendered.

The current workaround is to downgrade to 1.41.0

phiamo/MopaBootstrapBundle#1244
MKodde added a commit to OpenConext/Stepup-Gateway that referenced this issue Jan 6, 2020
To be able to use both the latest symfony version and prevent twig
compatibility issues with Mopa Bootstrap bundle.

phiamo/MopaBootstrapBundle#1244
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants