PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) in /home/c1557159c/public_html/includes/PDO2.php:15 Stack trace: #0 /home/c1557159c/public_html/includes/PDO2.php(15): PDO->__construct('mysql:host=loca...', 'root', '', Array) #1 /home/c1557159c/public_html/includes/Config.php(15): PDO2::getInstance() #2 /home/c1557159c/public_html/includes/Config.php(37): Config->__construct() #3 /home/c1557159c/public_html/includes/init.php(15): Config::getInstance() #4 /home/c1557159c/public_html/index.php(21): require_once('/home/c1557159c...') #5 {main}
Fatal error: Uncaught Error: Call to a member function setAttribute() on null in /home/c1557159c/public_html/includes/PDO2.php:21 Stack trace: #0 /home/c1557159c/public_html/includes/Config.php(15): PDO2::getInstance() #1 /home/c1557159c/public_html/includes/Config.php(37): Config->__construct() #2 /home/c1557159c/public_html/includes/init.php(15): Config::getInstance() #3 /home/c1557159c/public_html/index.php(21): require_once('/home/c1557159c...') #4 {main} thrown in /home/c1557159c/public_html/includes/PDO2.php on line 21