Mailer complaining about parameter (php)

“trim(): Passing null to parameter #1 ($string) of type string is deprecated”
Is the error i’m getting. It seems to be pointing to something wrong with the email address coming from the database… but it was working fine. I noticed that serverside component had unsaved changes and like a dummy, saved it knowing i hadn’t changed anything. Now I’m not sure what changed and can’t find the issue.

Here’s the error:

#0 /home/username/public_html/phpproject/dmxConnectLib/PHPMailer/PHPMailer/PHPMailer.php(1014): PHPMailer\PHPMailer\PHPMailer->addOrEnqueueAnAddress()
#1 /home/username/public_html/phpproject/dmxConnectLib/modules/mail.php(84): PHPMailer\PHPMailer\PHPMailer->addAddress()
#2 /home/username/public_html/phpproject/dmxConnectLib/lib/App.php(206): modules\mail->send()
#3 /home/username/public_html/phpproject/dmxConnectLib/lib/App.php(178): lib\App->execSteps()
#4 /home/username/public_html/phpproject/dmxConnectLib/lib/App.php(146): lib\App->execSteps()
#5 /home/username/public_html/phpproject/dmxConnectLib/modules/core.php(100): lib\App->exec()
#6 /home/username/public_html/phpproject/dmxConnectLib/lib/App.php(206): modules\core->condition()
#7 /home/username/public_html/phpproject/dmxConnectLib/lib/App.php(178): lib\App->execSteps()
#8 /home/username/public_html/phpproject/dmxConnectLib/lib/App.php(146): lib\App->execSteps()
#9 /home/username/public_html/phpproject/dmxConnectLib/lib/App.php(135): lib\App->exec()
#10 /home/username/public_html/phpproject/dmxConnectLib/lib/App.php(113): lib\App->exec()
#11 /home/username/public_html/phpproject/dmxConnect/api/addTicketComment.php(7): lib\App->define()
#12 {main}

the issue was the bcc field had an email address in it. Not sure if it needed quotes in the gui or not (guessing it does)… deleting it fixed the issue.