Post by megalca » Fri Aug 12, 2022 11:47 pm

Hi all and happy Friday!
Have version 3.0.3.3.
Days ago upgraded to php7.4 and started seeing this error on the logs and new orders going to the "missing order" status. Not sure if this PHP warning is causing the missing orders issue and even if this was caused by upgrading from7.3 to from php7.4
Not an PHP expert, just very basic knowledge.
Any ideas? suggestions?
thanks!

From error log:
2022-08-12 15:05:02 - PHP Warning: mail() expects parameter 5 to be string, array given in /home/xxx/public_html/storage/modification/system/library/mail/mail.php on line 91

From mail.php file: (lines 90 to 95)


if ($this->parameter) {
mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header, $this->parameter);
} else {
mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header);
}
}

New member

Posts

Joined
Sun Apr 07, 2019 5:49 am

Post by ADD Creative » Sat Aug 13, 2022 12:25 am

It will probably be caused by an extension. Try disabling them one by one to find which one.

The warning shouldn't cause the missing orders as long as you have all your error display settings set correctly.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by megalca » Sat Aug 13, 2022 12:34 am

Thanks!
Appreciate your suggestion!

New member

Posts

Joined
Sun Apr 07, 2019 5:49 am
Who is online

Users browsing this forum: ravikumar22 and 80 guests