MopaBootstrapBundle icon indicating copy to clipboard operation
MopaBootstrapBundle copied to clipboard

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

Open DaniFuchoBasetis opened this issue 6 years ago • 1 comments

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.

DaniFuchoBasetis avatar Jun 05 '19 00:06 DaniFuchoBasetis

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

jmeyo avatar Jul 17 '19 21:07 jmeyo