Tim on "[Plugin: Participants Database] PHP 7 and MySQL 5.7"

ساخت وبلاگ

Hi - just a quick question... does your plugin support PHP 7 and MySQL 5.7?

Thanks!

Tim

https://wordpress.org/plugins/participants-database/

zurikus
Member
Posted 10 minutes ago #

PHP 5.6 introduces SSL certificate verification, so if your config is broken, it will fail with this error. You should fix your SSL, but you can revert to the old behaviour by setting the SMTPOptions property to not verify certificates:

$mail->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);

Thanks for the tip, zurikus! In my case I was already on PHP 5.6 so that was working fine for me, but someone else might find it helpful to know that. :)

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 428 تاريخ : سه شنبه 19 مرداد 1395 ساعت: 0:27