SQLSTATE[HY000] [1045] Access denied for user 'torva_vadmin'@'localhost' (using password: YES)
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/torva/public_html/vote/class/Database.php:32 Stack trace: #0 /home/torva/public_html/vote/class/Vote.php(13): Database::query('SELECT * FROM `...', Array) #1 /home/torva/public_html/vote/index.php(5): Vote::initiate('') #2 {main} thrown in /home/torva/public_html/vote/class/Database.php on line 32