When I updated to Symfony4.0 and tried to log in, I got the following error. I moved the contents described in parameters.yml to services.yaml, but that may have an effect.