Errors in error_log

Hi
Checked my error log and there is alot of these lines:

PHP Fatal error: Uncaught Error: Call to undefined function GenSQL() in /opt/librenms/html/includes/forms/create-alert-item.inc.php:21\nStack trace:\n#0 /opt/librenms/html/ajax_form.php(29): include_once()\n#1 {main}\n thrown in /opt/librenms/html/includes/forms/create-alert-item.inc.php on line 21, referer: http://librenms.obos.no/alert-rules/

==========================================================

Component Version
LibreNMS dda62d8ce1bead8de62fe7adb10bc696f25e2685
DB Schema 151
PHP 7.0.12
MySQL 5.5.50-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

==========================================================

I don’t see the same + an error would cause the page to fail to load in someway.

I’ve just created a new alert rule with no issues. What web server + version do you use?

laf: this probably needs to have alerts included for init in index.php…

Running Apache
httpd-2.4.6-45.el7.centos.x86_64

Already is: html/ajax_forms.php $init_modules = array('web', 'auth', 'alerts');