When you enter the login method, then, is the direction of the route login_check, I get the following error.
ContextErrorException: Catchable Fatal Error: Argument 1 passed to FOS\UserBundle\Doctrine\UserListener::preUpdate() must be an instance of Doctrine\Common\Persistence\Event\LifecycleEventArgs, instance of Doctrine\ORM\Event\PreUpdateEventArgs given, called in /var/www/solicitud_cupos/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php on line 63 and defined in /var/www/solicitud_cupos/vendor/friendsofsymfony/user-bundle/Doctrine/UserListener.php line 76
Version: Symfony 2.3.37
Thank you for your help