Fatal error: Uncaught Exception: unable to establish connection for app1 - error 1040: Too many connections in /var/www/gfll/classes/db.php:576 Stack trace: #0 /var/www/gfll/classes/db.php(618): gfll\db->_getRelevantConnection('SELECT COUNT(DI...') #1 /var/www/gfll/classes/db.php(159): gfll\db->_process('SELECT COUNT(DI...', 'select') #2 /var/www/gfll/classes/dbsearch.php(529): gfll\db->select('SELECT COUNT(DI...', 'c', 1) #3 /var/www/gfll/classes/dbsearch.php(548): gfll\dbsearch->getCount() #4 /var/www/gfll/classes/dbsearch.php(94): gfll\dbsearch->getResults() #5 /var/www/gfll/classes/dbsearch.php(126): gfll\dbsearch->__construct('server', Array, 'id', 'ASC', 0, 1) #6 /var/www/gfll/classes/dbsearch.php(797): gfll\dbsearch::getResultsStatic('server', Array, 'id', 'ASC', 0, 1) #7 [internal function]: gfll\dbsearch::findOrCreate('server', Array) #8 /var/www/gfll/traits/cacheable.php(182): call_user_func_array(Array, Array) #9 /var/www/gfll/traits/cacheable.php(87): gfll\dbsearch::_exec('findOrCreate', Array) #10 [internal f in /var/www/gfll/classes/db.php on line 576