menatwork-ia / registration_info_mailer

Contao Extension :: Mailer for registration and activation of frontend member
https://packagist.org/packages/menatwork/registration_info_mailer
1 stars 2 forks source link

Type error: Too few arguments to function RegistrationInfoMailer\Handler::sendChangeMail #7

Open mapfei opened 5 years ago

mapfei commented 5 years ago

When creating a new user in the backend and clicking the box "Benachrichtigungsmail verschicken (einmaliger Versand)" and select the corresponding notification and then click "save", I get the following error message:

[2019-02-06 16:19:29] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction","_route":"contao_backend"},"request_uri":"/contao?act=edit&do=member&id=1&ref=nsqh8Ny4&rt=4cZ-CD1_YIxe6z-9g7hFd0Mrg1IrEozqOmEBVGejBRw","method":"POST"} [] [2019-02-06 16:19:29] security.INFO: Attempting SimplePreAuthentication. {"key":"backend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} [] [2019-02-06 16:19:30] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Type error: Too few arguments to function RegistrationInfoMailer\\Handler::sendChangeMail(), 2 passed in /var/cache/prod/contao/dca/tl_member.php on line 606 and exactly 3 expected at /vendor/menatwork/registration_info_mailer/system/modules/registration_info_mailer/src/Handler.php:92)"} []

The error only occurs, when "Login erlauben" is checked.

cliffparnitzky commented 5 years ago

same problem like here #3