are you getting this error:

DB::__construct Too many connections

if so, this is what my problem was, i had ran out of disk space on my server

the cause was the error logs i used these commands to troubleshoot and find a way to fix the issue

cd /var

du -h --max-depth=1

OUTPUT:
200G ./www
4.0K ./opt
63M ./cache
4.0K ./cvs
20K ./db
12G ./lib
4.0K ./nis
324K ./vmail
4.0K ./preserve
6.2G ./named
4.0K ./games
4.0K ./ftp
16G ./log

as you can see from this list, the www directory and the log were high,

so to fix it , you just have to do some cleanup