Validate PHP shows PHP Fatal error: Uncaught Error: Call to undefined function mergedb()

I just set up LibreNMS on Ubuntu Server 16.04 and I used the apache2 guide to manually install and setup everything. So far, everything is working well and I have devices added. I did notice that a lot of graphs display, “Error Drawing Graph” and so I googled this and saw that I should run the /opt/librenms/validate.php

Here is what I get:

PHP Fatal error: Uncaught Error: Call to undefined function mergedb() in /opt/librenms/validate.php:138
Stack trace:
#0 {main}
thrown in /opt/librenms/validate.php on line 138

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

Component Version
LibreNMS 1.36-63-g16424ef
DB Schema 235
PHP 7.0.25-0ubuntu0.16.04.1
MySQL 10.0.33-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3

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

Actual lines from validate.php:
137 // pull in the database config settings
138 mergedb();
139 require ‘includes/process_config.inc.php’;

Can someone help me understand what the problem is?

Just something that was supposed to be removed that got missed.

Update your install ./daily.sh it is already fixed.

Cool, thanks. That solved the validation error.