Warning when Test Sending Email

Hi Dolibarr community,

My original issue: whenever I add message on a ticket it pops-up:
Failed to send mail (sender=, receiver=email@address.com)

So, I try to check Home->Setup->Emails to see if something is causing the ticket module to show an error when adding message.

I tested Outgoing emails (for module Ticket) and it is sending an email.

But Outgoing emails (for module EMailing) producing the errors below when Test Sending or Test Sending HTML (see errors below).

Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 321
Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 321
Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 416
Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 416
Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 506
Warning: preg_match() expects parameter 2 to be string, array given in dolibarr/core/lib/functions.lib.php on line 591
Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 321
Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 321
Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 416
Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 416
Warning: Illegal offset type in isset or empty in dolibarr/core/lib/functions.lib.php on line 506
Warning: preg_match() expects parameter 2 to be string, array given in dolibarr/core/lib/functions.lib.php on line 591

Hello,

What is your DOlibarr version ?
What is your PHP version ?

Most probably you are using PHP V8 that is not yet compatible with dolibarr

Hi ksar,

Thank you for your reply.

I checked installation, my install is using PHP 7.3 and Dolibarr 13.0.2