You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a remainder for the open issue with the PHP 8.1 compatibility and the 3rd party addon "swiftmailer" found by @VVD and requested by @ChristophWurst
The email will be sent successfully. However, you'll find the following error message in the Nextcloud log: Error: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated at /home/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php#144
Expected behavior
No deprecated error message should be thrown.
Installation method
Community Web installer on a VPS or web space
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
{"reqId":"Fmga0R2gFKqyeS9y47ov","level":3,"time":"2022-11-09T13:37:30+00:00","remoteAddr":"IPADDRESS_REMOVED","user":"USERID-REMOVED","app":"PHP","method":"POST","url":"/index.php/settings/admin/mailtest","message":"strtolower(): Passing null to parameter #1 ($string) of type string is deprecated at /home/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php#144","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0","version":"25.0.1.1","exception":{"Exception":"Error","Message":"strtolower(): Passing null to parameter #1 ($string) of type string is deprecated at /home/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php#144","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/home/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":144,"function":"strtolower"},{"file":"/home/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/SmtpTransport.php","line":43,"function":"setEncryption","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/home/lib/private/Mail/Mailer.php","line":267,"function":"__construct","class":"Swift_SmtpTransport","type":"->"},{"file":"/home/lib/private/Mail/Mailer.php","line":254,"function":"getSmtpInstance","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/home/lib/private/Mail/Mailer.php","line":180,"function":"getInstance","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/home/apps/settings/lib/Controller/MailSettingsController.php","line":170,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/home/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"sendTestMail","class":"OCA\\Settings\\Controller\\MailSettingsController","type":"->"},{"file":"/home/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/lib/base.php","line":1047,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
Additional info
No response
The text was updated successfully, but these errors were encountered:
Bug description
This is a remainder for the open issue with the PHP 8.1 compatibility and the 3rd party addon "swiftmailer" found by @VVD and requested by @ChristophWurst
The issue is described here:
#29287 (comment)
The solution is already available, but not yet implemented (as with NC 25.0.1):
The existing commit swiftmailer/swiftmailer@ee8a1d9 is not yet integrated into https://github.com/nextcloud/3rdparty/tree/master/swiftmailer/swiftmailer
Steps to reproduce
Error: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated at /home/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php#144
Expected behavior
No deprecated error message should be thrown.
Installation method
Community Web installer on a VPS or web space
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: