-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
Error with swiftmailer #2068
Comments
A track : swiftmailer/swiftmailer#925 |
Hello, I had the same problem in the log I solved the problem in the following way:
by:
by:
For me that solved the problem. Thorsen was there another way to solve the problem? Thanks for this app. Cordially. |
@yann2-0 see the referenced commit above, this is the correct way. phpMyFAQ 3.1.2 will be released soon to address this issue. |
@thorsten ok sorry i'm new to git |
@yann2-0 no worries! :-) |
Describe the bug
When you create a new article in the administration, in debug mod, you have these errors :
Uncaught exception: 'Error'
Message: 'Call to undefined method Swift_Mailer::newInstance()'
Stack trace:
/var/www/html/phpmyfaq_prod/src/phpMyFAQ/Mail.php(561): phpMyFAQ\Mail\SwiftSMTP->setAuthConfig()
/var/www/html/phpmyfaq_prod/src/phpMyFAQ/Notification.php(89): phpMyFAQ\Mail->send()
/var/www/html/phpmyfaq_prod/admin/record.add.php(215): phpMyFAQ\Notification->sendNewFaqAdded()
/var/www/html/phpmyfaq_prod/admin/index.php(361): require('/var/www/html/p...')
{main}
Thrown in '/var/www/html/phpmyfaq_prod/src/phpMyFAQ/Mail/SwiftSMTP.php' on line 51
To Reproduce
Steps to reproduce the behavior:
Screenshots
![image](https://user-images.githubusercontent.com/12497601/157403159-914862b1-b6c4-4929-9af8-73ce877f2544.png)
phpMyFAQ (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: