MailsControl.php - ErrorException: Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
Sentry Issue: FOODSHARINGDE-BETA-BACKEND-YA
ErrorException: Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
File "/src/Modules/Mails/MailsControl.php", line 108, in Foodsharing\Modules\Mails\MailsControl::mailboxupdate
if (in_array(strtolower($to->getHostname()), MAILBOX_OWN_DOMAINS)) {
File "/src/Modules/Mails/MailsControl.php", line 77, in Foodsharing\Modules\Mails\MailsControl::fetchMails
$stats = $this->mailboxupdate($imap['host'], $imap['user'], $imap['password']);
File "/src/Command/CronCommand.php", line 35, in Foodsharing\Command\CronCommand::execute
$this->mailsControl->fetchMails();
File "/bin/console", line 33
$application->run($input);
...
(5 additional frame(s) were not displayed)