Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /home/afnspicj/public_html/APP/Core/Connection.php:48
Stack trace:
#0 /home/afnspicj/public_html/APP/Core/Connection.php(48): PDO->__construct('mysql:host=loca...', 'afnspicj_taher', Object(SensitiveParameterValue), Array)
#1 /home/afnspicj/public_html/APP/Core/DB.php(10): Connection->connect('USERS')
#2 /home/afnspicj/public_html/APP/Core/DB.php(24): DB::DBConnect('USERS')
#3 /home/afnspicj/public_html/APP/Core/Models/IPs_manage.php(79): DB::selectRow('USERS', 'SELECT *\n ...', Array)
#4 /home/afnspicj/public_html/APP/Utilities/Firewall.php(60): IPs_manage::isBanned('216.73.216.56')
#5 /home/afnspicj/public_html/APP/Middlewares/checkAccess.php(4): Firewall::canUserVisit()
#6 /home/afnspicj/public_html/APP/Middlewares/index.php(3): require_once('/home/afnspicj/...')
#7 /home/afnspicj/public_html/APP/Config/loader.php(31): require_once('/home/afnspicj/...')
#8 /home/afnspicj/public_html/config.php(23): require_once('/home/afnspicj/...')
#9 /home/afnspicj/public_html/index.php(11): require_once('/home/afnspicj/...')
#10 {main}
Next RuntimeException: Database connection failed: SQLSTATE[HY000] [1040] Too many connections in /home/afnspicj/public_html/APP/Core/Connection.php:52
Stack trace:
#0 /home/afnspicj/public_html/APP/Core/DB.php(10): Connection->connect('USERS')
#1 /home/afnspicj/public_html/APP/Core/DB.php(24): DB::DBConnect('USERS')
#2 /home/afnspicj/public_html/APP/Core/Models/IPs_manage.php(79): DB::selectRow('USERS', 'SELECT *\n ...', Array)
#3 /home/afnspicj/public_html/APP/Utilities/Firewall.php(60): IPs_manage::isBanned('216.73.216.56')
#4 /home/afnspicj/public_html/APP/Middlewares/checkAccess.php(4): Firewall::canUserVisit()
#5 /home/afnspicj/public_html/APP/Middlewares/index.php(3): require_once('/home/afnspicj/...')
#6 /home/afnspicj/public_html/APP/Config/loader.php(31): require_once('/home/afnspicj/...')
#7 /home/afnspicj/public_html/config.php(23): require_once('/home/afnspicj/...')
#8 /home/afnspicj/public_html/index.php(11): require_once('/home/afnspicj/...')
#9 {main}
thrown in /home/afnspicj/public_html/APP/Core/Connection.php on line 52