object(PDOException)#2 (8) { ["message":protected]=> string(46) "SQLSTATE[08006] [7] connection pointer is NULL" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(7) ["file":protected]=> string(29) "/var/www/html/libs/common.php" ["line":protected]=> int(79) ["trace":"Exception":private]=> array(2) { [0]=> array(6) { ["file"]=> string(29) "/var/www/html/libs/common.php" ["line"]=> int(79) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(95) "pgsql:host=kumu2-stg-db.cluster-co07zrbjmssg.us-east-1.rds.amazonaws.com;port=5432;dbname=kumu2" [1]=> string(8) "postgres" [2]=> string(12) "RBJnkjiBj9U9" } } [1]=> array(4) { ["file"]=> string(22) "/var/www/html/item.php" ["line"]=> int(16) ["function"]=> string(7) "DBconn2" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> NULL } DB ERROR: SQLSTATE[08006] [7] connection pointer is NULL