Connection failed to Database.
Details: mysql:dbname=nsc_awards;host=localhost: SQLSTATE[HY000] [1045] Access denied for user 'nsc_awards'@'localhost' (using password: YES)
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/nsc/public_html/_classes/PdoDatabase.php:305 Stack trace: #0 /home/nsc/public_html/nsc_awards/MVC/Model.php(195): _classes\PdoDatabase->query('\nSELECT DISTIN...', Array) #1 /home/nsc/public_html/nsc_awards/MVC/Controller.php(61): awards\MVC\Model->getExpandedTrophy() #2 /home/nsc/public_html/nsc_awards/expand_trophy.php(91): awards\MVC\Controller->__construct(Object(awards\MVC\Model), Array) #3 {main} thrown in /home/nsc/public_html/_classes/PdoDatabase.php on line 305
Details: mysql:dbname=nsc_awards;host=localhost: SQLSTATE[HY000] [1045] Access denied for user 'nsc_awards'@'localhost' (using password: YES)
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/nsc/public_html/_classes/PdoDatabase.php:305 Stack trace: #0 /home/nsc/public_html/nsc_awards/MVC/Model.php(195): _classes\PdoDatabase->query('\nSELECT DISTIN...', Array) #1 /home/nsc/public_html/nsc_awards/MVC/Controller.php(61): awards\MVC\Model->getExpandedTrophy() #2 /home/nsc/public_html/nsc_awards/expand_trophy.php(91): awards\MVC\Controller->__construct(Object(awards\MVC\Model), Array) #3 {main} thrown in /home/nsc/public_html/_classes/PdoDatabase.php on line 305