Fatal error: Uncaught Laminas\Mail\Exception\InvalidArgumentException: The input is not a valid email address. Use the basic format local-part@hostname in /var/www/hcsupport/payroll/include/laminas-mail/src/Address.php:78 Stack trace: #0 /var/www/hcsupport/payroll/include/laminas-mail/src/AddressList.php(234): Laminas\Mail\Address->__construct() #1 /var/www/hcsupport/payroll/include/laminas-mail/src/AddressList.php(34): Laminas\Mail\AddressList->createAddress() #2 /var/www/hcsupport/payroll/include/laminas-mail/src/Message.php(537): Laminas\Mail\AddressList->add() #3 /var/www/hcsupport/payroll/include/laminas-mail/src/Message.php(131): Laminas\Mail\Message->updateAddressList() #4 /var/www/hcsupport/payroll/include/laminas-mail/src/Message.php(118): Laminas\Mail\Message->addFrom() #5 /var/www/hcsupport/payroll/include/class.mail.php(230): Laminas\Mail\Message->setFrom() #6 /var/www/hcsupport/payroll/include/class.mailer.php(356): osTicket\Mail\Message->setFrom() #7 /var/www/hcsupport/payroll/include/class.mailer.php(673): osTicket\Mail\Mailer->send() #8 /var/www/hcsupport/payroll/bootstrap.php(344): osTicket\Mail\Mailer::sendmail() #9 /var/www/hcsupport/payroll/bootstrap.php(229): Bootstrap::croak() #10 /var/www/hcsupport/payroll/main.inc.php(28): Bootstrap::connect() #11 /var/www/hcsupport/payroll/client.inc.php(21): require_once('...') #12 /var/www/hcsupport/payroll/index.php(16): require('...') #13 {main} thrown in /var/www/hcsupport/payroll/include/laminas-mail/src/Address.php on line 78

The site is down because of this. Quick fix please

Thanks

    aastephen

    Your system is croaking (ie. cannot connect to the database) and is trying to send an email but the system email you have configured is not formatted properly. You will need to review your logs (general server logs, webserver error logs, PHP error logs, MySQL/MariaDB error logs, osTicket System Logs, Browser Console logs, etc.) for the reason why osTicket cannot connect to the database. Once you fix that you can then update your system emails.

    Cheers.

      6 months later

      amena

      I already posted an answer to your question in a separate thread. Please do not hijack other people's threads and do not cross-post.

      Cheeers.

      Write a Reply...