Hello again, Patrick, sir.
I did another clean-install of your latest (11.07.2022) v3.02.03 using PHP 8.0.10, and ran into a problem with the Contact form.
Test environment:
Domain: NitroWings.me [PHP version in use displayed in my footer, after my name]
Details: phpinfo
Software: Abyss Web Server X2 on Windows 10 x64
DB version: MariaDB 10.8.3
DB port: 3369
DB type: PDO
PHP 7.2.28 (emails sent successfully)
PHP 8.0.10 (fatal error)
v3.02.03 (11.07.2022) installed using PHP 8.0.10
Admin Panel - v3.02.03 | Settings | Miscellaneous
SMTP Host: set (external mail host)
SMTP Port: 587
SMTP Authentication: Enabled
SMTP Secure: TLS
SMTP Username: set
SMTP Password: set
Admin Panel - v3.02.03 | Settings | Security
Captcha: recaptcha
Recaptcha Public Key: set (Recaptcha v2)
Recaptcha Private Key: set (Recaptcha v2)
PHP 8.0.10 (error)
Zitat Fatal error: Uncaught Error: Call to undefined function each() in D:\Web\host~NitroWings.me\CMS\chromefusion\nitrowings-me_chromefusion_v3.02.03\includes\class.smtp.php:391 Stack trace: #0 D:\Web\host~NitroWings.me\CMS\chromefusion\nitrowings-me_chromefusion_v3.02.03\includes\class.phpmailer.php(848): SMTP->Data() #1 D:\Web\host~NitroWings.me\CMS\chromefusion\nitrowings-me_chromefusion_v3.02.03\includes\class.phpmailer.php(660): PHPMailer->SmtpSend() #2 D:\Web\host~NitroWings.me\CMS\chromefusion\nitrowings-me_chromefusion_v3.02.03\includes\class.phpmailer.php(588): PHPMailer->PostSend() #3 D:\Web\host~NitroWings.me\CMS\chromefusion\nitrowings-me_chromefusion_v3.02.03\includes\sendmail_include.php(78): PHPMailer->Send() #4 D:\Web\host~NitroWings.me\CMS\chromefusion\nitrowings-me_chromefusion_v3.02.03\contact.php(55): sendemail() #5 {main} thrown in D:\Web\host~NitroWings.me\CMS\chromefusion\nitrowings-me_chromefusion_v3.02.03\includes\class.smtp.php on line 391
PHP 7.2.28 (works correctly)
Same install using 8.0.10, but switched my PHP from 8.0.10 temporarily to 7.2.28 and tried to send a test message again, and the messages are successfully sent with no errors.
When I switch back & forth between PHP 7.2.28 and 8.0.10, I am successfully able to send test messages with no error using 7.2.28, but each time I switch back to PHP 8.0.10 I get the same fatal error.
Sorry for the bad news.
Regards,
John
Bearbeitet von JMM am 15.07.2022 - 03:55
|