Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Site has a deprecated constructor in /home/midnight/public_html/classes/site.php on line 3

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/midnight/public_html/classes/site.php:249 Stack trace: #0 /home/midnight/public_html/classes/site.php(286): Site->dbConnect() #1 /home/midnight/public_html/classes/site.php(266): Site->query('SELECT * FROM w...') #2 /home/midnight/public_html/classes/site.php(256): Site->results('SELECT * FROM w...', false) #3 /home/midnight/public_html/classes/wordpress.php(267): Site->result('SELECT * FROM w...') #4 /home/midnight/public_html/classes/contact.php(6): Wordpress->getPageBySlug('contact') #5 /home/midnight/public_html/classes/site.php(98): Contact->index() #6 /home/midnight/public_html/webroot/index.php(103): Site->pageController() #7 {main} thrown in /home/midnight/public_html/classes/site.php on line 249