email alerts are not working and I have the following error in the logs:
[2018-10-08 12:05:01] production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected ‘’ (T_ENCAPSED_AND_WHITESPACE), expecting ‘-’ or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /opt/librenms/includes/alerts.inc.php(403) : eval()‘d code:8
Stack trace:
#0 /opt/librenms/LibreNMS/Alert/Template.php(174): RunJail(’$ret .= "Device…’, Array)
#1 /opt/librenms/LibreNMS/Alert/Template.php(65): LibreNMS\Alert\Template->legacyBody(Array)
#2 /opt/librenms/includes/alerts.inc.php(870): LibreNMS\Alert\Template->getBody(Array)
#3 /opt/librenms/includes/alerts.inc.php(609): ExtTransports(Array)
#4 /opt/librenms/includes/alerts.inc.php(811): IssueAlert(Array)
#5 /opt/librenms/alerts.php(48): RunAlerts()
#6 {main}
Where do I start on trying to fix this?