SQLSTATE[HY000] [1044] Access denied for user 'xmas_main'@'localhost' to database 'xmas_main'
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/mdgkblr2fggn/public_html/allchristmaswishes.com/database.php:92
Stack trace:
#0 /home/mdgkblr2fggn/public_html/allchristmaswishes.com/database.php(340): database->queryPDOFetchRow()
#1 /home/mdgkblr2fggn/public_html/allchristmaswishes.com/checkDatabase.php(11): database->fetchRow()
#2 /home/mdgkblr2fggn/public_html/allchristmaswishes.com/checkDatabase.php(24): checkDatabase->getUser()
#3 /home/mdgkblr2fggn/public_html/allchristmaswishes.com/index.php(3): include('/home/mdgkblr2f...')
#4 {main}
thrown in /home/mdgkblr2fggn/public_html/allchristmaswishes.com/database.php on line 92