Closed flipzoom closed 1 year ago
And some other PHP8-related deprecation warnings:
Deprecated: Creation of dynamic property smtp_message_class::$realm is deprecated in /Users/.../site/assets/cache/FileCompiler/site/modules/WireMailSmtp/WireMailSmtpAdaptor.php on line 203
Deprecated: Creation of dynamic property smtp_message_class::$workstation is deprecated in /Users/.../site/assets/cache/FileCompiler/site/modules/WireMailSmtp/WireMailSmtpAdaptor.php on line 204
Deprecated: Creation of dynamic property smtp_message_class::$authentication_mechanism is deprecated in /Users/.../site/assets/cache/FileCompiler/site/modules/WireMailSmtp/WireMailSmtpAdaptor.php on line 205
I wonder what is the best step now to have it fixed.
Should be fixed with https://github.com/horst-n/WireMailSmtp/pull/16 !
Under PHP 8.x and with the latest module version 0.6.0 there is a deprecated message when sending.
It may help to simply replace the function with Ryan's replacement, but this is also only available since PW 3.0.197. See: https://processwire.com/api/ref/wire-date-time/strftime/