object(ActiveRecord\DatabaseException)#9 (7) { ["message":protected]=> string(1311) "PDOException: SQLSTATE[HY000] [1040] Too many connections in /home/arc876gy/public_html/english/classes/lib/Connection.php:249 Stack trace: #0 /home/arc876gy/public_html/english/classes/lib/Connection.php(249): PDO->__construct('mysql:host=loca...', 'arc876gy_endbus...', '=nibTHNErBri', Array) #1 /home/arc876gy/public_html/english/classes/lib/Connection.php(111): ActiveRecord\Connection->__construct(Object(stdClass)) #2 /home/arc876gy/public_html/english/classes/lib/ConnectionManager.php(33): ActiveRecord\Connection::instance('mysql://arc876g...') #3 /home/arc876gy/public_html/english/classes/lib/Table.php(114): ActiveRecord\ConnectionManager::get_connection('production') #4 /home/arc876gy/public_html/english/classes/lib/Table.php(90): ActiveRecord\Table->reestablish_connection(false) #5 /home/arc876gy/public_html/english/classes/lib/Table.php(71): ActiveRecord\Table->__construct('Category') #6 /home/arc876gy/public_html/english/classes/lib/Model.php(756): ActiveRecord\Table::load('Category') #7 /home/arc876gy/public_html/english/classes/lib/Model.php(1648): ActiveRecord\Model::table() #8 /home/arc876gy/public_html/english/classes/lib/Model.php(1606): ActiveRecord\Model::find_by_pk('72', Array) #9 /home/arc876gy/public_html/english/category.php(25): ActiveRecord\Model::find('72') #10 {main}" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(61) "/home/arc876gy/public_html/english/classes/lib/Connection.php" ["line":protected]=> int(251) ["trace":"Exception":private]=> array(9) { [0]=> array(6) { ["file"]=> string(61) "/home/arc876gy/public_html/english/classes/lib/Connection.php" ["line"]=> int(111) ["function"]=> string(11) "__construct" ["class"]=> string(23) "ActiveRecord\Connection" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(stdClass)#7 (5) { ["protocol"]=> string(5) "mysql" ["host"]=> string(9) "localhost" ["db"]=> string(29) "arc876gy_endb543;charset=utf8" ["user"]=> string(16) "arc876gy_endbus3" ["pass"]=> string(12) "=nibTHNErBri" } } } [1]=> array(6) { ["file"]=> string(68) "/home/arc876gy/public_html/english/classes/lib/ConnectionManager.php" ["line"]=> int(33) ["function"]=> string(8) "instance" ["class"]=> string(23) "ActiveRecord\Connection" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(77) "mysql://arc876gy_endbus3:=nibTHNErBri@localhost/arc876gy_endb543;charset=utf8" } } [2]=> array(6) { ["file"]=> string(56) "/home/arc876gy/public_html/english/classes/lib/Table.php" ["line"]=> int(114) ["function"]=> string(14) "get_connection" ["class"]=> string(30) "ActiveRecord\ConnectionManager" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(10) "production" } } [3]=> array(6) { ["file"]=> string(56) "/home/arc876gy/public_html/english/classes/lib/Table.php" ["line"]=> int(90) ["function"]=> string(22) "reestablish_connection" ["class"]=> string(18) "ActiveRecord\Table" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> bool(false) } } [4]=> array(6) { ["file"]=> string(56) "/home/arc876gy/public_html/english/classes/lib/Table.php" ["line"]=> int(71) ["function"]=> string(11) "__construct" ["class"]=> string(18) "ActiveRecord\Table" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(8) "Category" } } [5]=> array(6) { ["file"]=> string(56) "/home/arc876gy/public_html/english/classes/lib/Model.php" ["line"]=> int(756) ["function"]=> string(4) "load" ["class"]=> string(18) "ActiveRecord\Table" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(8) "Category" } } [6]=> array(6) { ["file"]=> string(56) "/home/arc876gy/public_html/english/classes/lib/Model.php" ["line"]=> int(1648) ["function"]=> string(5) "table" ["class"]=> string(18) "ActiveRecord\Model" ["type"]=> string(2) "::" ["args"]=> array(0) { } } [7]=> array(6) { ["file"]=> string(56) "/home/arc876gy/public_html/english/classes/lib/Model.php" ["line"]=> int(1606) ["function"]=> string(10) "find_by_pk" ["class"]=> string(18) "ActiveRecord\Model" ["type"]=> string(2) "::" ["args"]=> array(2) { [0]=> string(2) "72" [1]=> array(0) { } } } [8]=> array(6) { ["file"]=> string(47) "/home/arc876gy/public_html/english/category.php" ["line"]=> int(25) ["function"]=> string(4) "find" ["class"]=> string(18) "ActiveRecord\Model" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(2) "72" } } } ["previous":"Exception":private]=> NULL }