Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Session has a deprecated constructor in /home/mogstat/public_html/live/include/session.php on line 17
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MySQLDB has a deprecated constructor in /home/mogstat/public_html/live/include/database.php on line 13
Error connecting to database.
Fatal error: Uncaught Error: Call to a member function query() on null in /home/mogstat/public_html/live/include/database.php:53
Stack trace:
#0 /home/mogstat/public_html/live/include/database.php(39): MySQLDB->getConfigs()
#1 /home/mogstat/public_html/live/include/database.php(374): MySQLDB->MySQLDB()
#2 /home/mogstat/public_html/live/include/session.php(13): include('/home/mogstat/p...')
#3 /home/mogstat/public_html/index.php(2): include('/home/mogstat/p...')
#4 {main}
thrown in /home/mogstat/public_html/live/include/database.php on line 53