Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical! Error with signup system due to dependency upgrade. #1230

Closed
tchalvak opened this issue Apr 20, 2022 · 1 comment · Fixed by #1530
Closed

Critical! Error with signup system due to dependency upgrade. #1230

tchalvak opened this issue Apr 20, 2022 · 1 comment · Fixed by #1530

Comments

@tchalvak
Copy link
Member

tchalvak commented Apr 20, 2022

Error with signup: Swift_MailTransport class not found, and upgrade has broken this, Swiftmail has been converted over to a symfony package and support for swiftmail has been discontinued, so need some kind of better solution.

AC:

  • Create a test that goes RED on this situation first!
  • consider implementing a mail sendout via AWS SDK
  • Connection should be via an external connection, for multi-server compatibility

image

2022/04/13 10:28:04 [error] 8462#8462: *5097750 FastCGI sent in stderr: "PHP message: Error: Class "Swift_MailTransport" not found in /srv/nw-releases/releases/1648601507/deploy/lib/extensions/Nmail.class.php:80
Stack trace:
#0 /srv/nw-releases/releases/1648601507/deploy/lib/control/SignupController.php(444): Nmail->send()
#1 /srv/nw-releases/releases/1648601507/deploy/lib/control/SignupController.php(103): NinjaWars\core\control\SignupController->sendSignupEmail()
#2 /srv/nw-releases/releases/1648601507/deploy/lib/control/SignupController.php(69): NinjaWars\core\control\SignupController->doWork()
#3 /srv/nw-releases/releases/1648601507/deploy/lib/Router.php(214): NinjaWars\core\control\SignupController->signup()
#4 /srv/nw-releases/releases/1648601507/deploy/lib/Router.php(75): NinjaWars\core\Router::execute()
#5 /srv/nw-releases/releases/1648601507/deploy/www/front-controller.php(32): NinjaWars\core\Router::route()
#6 {main}" while reading response header from upstream, client: 172.31.29.211, server: www.ninjawars.net, request: "POST /signup/signup HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm.sock:", host: "www.ninjawars.net"

@tchalvak
Copy link
Member Author

Alternative, related PR: #1198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant