Error when using CRON

Submitted by JFS on 2020-04-07

Hi!

I moved my WebIssues to a new server, Everything seems to work fine except the CRON job. I get the following errors. Can somebody help?

Thanks in advance 

J.

Unhandled System_Db_Exception:  in /var/www/vhosts/server.domain/httpdocs/system/db/mysqli/engine.inc.php on line 287
Stack trace:
#0 /var/www/vhosts/server.domain/httpdocs/system/db/mysqli/engine.inc.php(110): System_Db_Mysqli_Engine->handleError(Object(mysqli))
#1 /var/www/vhosts/server.domain/httpdocs/system/db/mysqli/engine.inc.php(90): System_Db_Mysqli_Engine->executeStatement('SELECT a.alert_...', Array)
#2 /var/www/vhosts/server.domain/httpdocs/system/db/connection.inc.php(256): System_Db_Mysqli_Engine->query('SELECT a.alert_...', Array)
#3 /var/www/vhosts/server.domain/httpdocs/system/db/connection.inc.php(289): System_Db_Connection->queryArgs('SELECT a.alert_...', Array)
#4 /var/www/vhosts/server.domain/httpdocs/system/db/connection.inc.php(277): System_Db_Connection->queryTableArgs('SELECT a.alert_...', Array)
#5 /var/www/vhosts/server.domain/httpdocs/system/api/alertmanager.inc.php(464): System_Db_Connection->queryTable('SELECT a.alert_...', 6, 1)
#6 /var/www/vhosts/server.domain/httpdocs/cron/job.php(137): System_Api_AlertManager->getAlertsToEmail(false)
#7 /var/www/vhosts/server.domain/httpdocs/cron/job.php(72): Cron_Job->sendNotificationEmails()
#8 /var/www/vhosts/server.domain/httpdocs/system/core/application.inc.php(210): Cron_Job->execute()
#9 /var/www/vhosts/server.domain/httpdocs/system/bootstrap.inc.php(130): System_Core_Application->run()
#10 /var/www/vhosts/server.domain/httpdocs/cron/job.php(693): System_Bootstrap::run('Cron_Job')
#11 {main}