Skip to content

Conversation

ThomasLandauer
Copy link
Contributor

@ThomasLandauer ThomasLandauer commented Jan 17, 2023

Page: https://symfony.com/doc/5.4/session.html#flash-messages

Info is taken from symfony/symfony#39222 (comment)

Hold on!
After clearing the cache, I'm now getting:

Cannot autowire argument $flashBag of "...": it references interface "Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface" but no such service exists. Did you create a class that implements this interface?

@wouterj
Copy link
Member

wouterj commented Jan 19, 2023

This service was deprecated in 5.1 and is removed in 6.0 (symfony/symfony#36273).

@wouterj wouterj closed this Jan 19, 2023
@ThomasLandauer ThomasLandauer deleted the patch-10 branch January 19, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants