Could not connect to server
SQLSTATE[08004] [1040] Too many connections
object(PDOException)#3 (8) { ["message":protected]=> string(43) "SQLSTATE[08004] [1040] Too many connections" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(1040) ["file":protected]=> string(98) "/home/justcastin/domains/justcasting.nl/public_html/manager/includes/classes/class.sqlDatabase.php" ["line":protected]=> int(20) ["trace":"Exception":private]=> array(3) { [0]=> array(6) { ["file"]=> string(98) "/home/justcastin/domains/justcasting.nl/public_html/manager/includes/classes/class.sqlDatabase.php" ["line"]=> int(20) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(56) "mysql:host=localhost;dbname=justcastin_main;charset=UTF8" [1]=> string(15) "justcastin_main" [2]=> string(8) "PsuEQ9Uw" } } [1]=> array(6) { ["file"]=> string(98) "/home/justcastin/domains/justcasting.nl/public_html/manager/includes/classes/class.sqlDatabase.php" ["line"]=> int(14) ["function"]=> string(7) "connect" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(61) "/home/justcastin/domains/justcasting.nl/public_html/index.php" ["line"]=> int(7) ["function"]=> string(11) "__construct" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> NULL }