WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
There was an uncatched exceptionpreg_match(): Argument #2 ($subject) must be of type string, bool givenin line (620) of (/framework/class.wb.php):
if (!$admin->validate_email($email_from)) { $email_from = '';}if (!$admin->validate_email($email_replyto)) { $email_replyto = '';}if (!$admin->validate_email($success_email_from)) { $success_email_from = '';}
// Validate supplied email address public function validate_email($email) { if (\is_callable('\idn_to_ascii') && (\defined('INTL_IDNA_VARIANT_UTS46') || \defined('INTL_IDNA_VARIANT_2003'))){ /* use pear if available */ $aInfoMatch = []; // 7.2.0 INTL_IDNA_VARIANT_2003 has been deprecated; use INTL_IDNA_VARIANT_UTS46 instead. $iVariant = \defined('INTL_IDNA_VARIANT_UTS46') ? \INTL_IDNA_VARIANT_UTS46 : \INTL_IDNA_VARIANT_2003; $email = \idn_to_ascii($email, 0, $iVariant); }else { $IDN = new idna_convert(); $email = $IDN->encode($email); unset($IDN); } // regex from NorHei 2011-01-11 $retval = \preg_match("/^((([!#$%&'*+\\-\/\=?^_`{|}~\w])|([!#$%&'*+\\-\/\=?^_`{|}~\w][!#$%&'*+\\-\/\=?^_`{|}~\.\w]{0,}[!#$%&'*+\\-\/\=?^_`{|}~\w]))[@]\w+(([-.]|\-\-)\w+)*\.\w+(([-.]|\-\-)\w+)*)$/", $email); return ($retval != false); }
if (($admin->validate_emailmpform($email_from)) != 'MailOk') { $email_from = '';}if (($admin->validate_emailmpform($email_replyto)) != 'MailOk') { $email_replyto = '';}if (($admin->validate_emailmpform($success_email_from)) != 'MailOk') { $success_email_from = '';}