XF 2.3 Call to undefined method Symfony\Component\Mime\Message::getTo()

savicmi

Member
After updating to version 2.3.8, I get server errors about sending emails.
  • Call to undefined method Symfony\Component\Mime\Message::getTo()
  • src/XF/Mail/Mailer.php:483
XF1.webp

Also, I get the same error if I try to manually send a password reset email to a user.

XF2.webp

What is the cause and how do I solve it?

I use these versions:
PHP version 8.4.17
MySQL version 10.11.14 (10.11.14-MariaDB-log)
 
Solution
After updating to version 2.3.8, I get server errors about sending emails.

View attachment 333067

Also, I get the same error if I try to manually send a password reset email to a user.

View attachment 333068

What is the cause and how do I solve it?

I use these versions:
PHP version 8.4.17
MySQL version 10.11.14 (10.11.14-MariaDB-log)
Uncheck Enable DKIM signing and clear the job queue (or wait for the next mail job) and check if the error persists. This could be related to this bug which has been fixed: https://xenforo.com/community/threads/dkim-signing-is-broken.234071/
After updating to version 2.3.8, I get server errors about sending emails.

View attachment 333067

Also, I get the same error if I try to manually send a password reset email to a user.

View attachment 333068

What is the cause and how do I solve it?

I use these versions:
PHP version 8.4.17
MySQL version 10.11.14 (10.11.14-MariaDB-log)
Uncheck Enable DKIM signing and clear the job queue (or wait for the next mail job) and check if the error persists. This could be related to this bug which has been fixed: https://xenforo.com/community/threads/dkim-signing-is-broken.234071/
 
Solution
Back
Top Bottom