The problem is very simple. The applications works as expected, no problems, sessions work, etc. But when I try to clear the cache:
bin/console c:c
// Clearing the cache for the dev environment with debug true
In RequestStack.php line 105:
There is currently no session available.
Any ideas?
Symfony version 6, all the latest packages.