Cocolabs-SAS / cocorico

👐 Cocorico is an open source marketplace solution for services and rentals. More information right here: https://www.cocorico.io/ 🚀 Cocorico is also available in an off-the-shelf SaaS package, check out https://www.hatch.li to launch your platform today. 😍 We are hiring (telecommute welcome 🏡): https://www.welcometothejungle.com/en/companies/cocorico/jobs/candidatures-spontanees#apply
https://www.cocolabs.com
MIT License
860 stars 612 forks source link

Registration Email confirmation - not working #450

Closed pacutezky closed 4 years ago

pacutezky commented 5 years ago
Q A
Bug report? [ ]
Feature request? [ ]
Support request? [X ]

When I activated the email confirmation during registration, I'm getting this error: Type error: Argument 1 passed to FOS\UserBundle\EventListener\EmailConfirmationListener::__construct() must be an instance of FOS\UserBundle\Mailer\MailerInterface, instance of Cocorico\UserBundle\Mailer\TwigSwiftMailer given, called in /cocorico/app/cache/dev/ContainerUtj31wj/getFosUser_Listener_EmailConfirmationService.php on line 8

I noticed that a MailerInterface and TwigSwiftMailer classes are created instead of using the FOS/UserBundle

pacutezky commented 4 years ago

Sorry.. I did not have the updated code. I will close this issue and will download first the updated one.