Warning: PDO::prepare(): SQLSTATE[00000]: No error: PDO constructor was not called in /home/pacificrimlabs/public_html/manage/includes/classes/db.php on line 118

Fatal error: Uncaught Error: Call to a member function execute() on null in /home/pacificrimlabs/public_html/manage/includes/classes/db.php:119 Stack trace: #0 /home/pacificrimlabs/public_html/manage/includes/functions.php(848): db->run('SELECT * FROM `...', Array) #1 /home/pacificrimlabs/public_html/template/modules/galleries/config.php(60): logged_query('SELECT * FROM `...', 0, Array, Object(db)) #2 /home/pacificrimlabs/public_html/manage/modules/galleries/system/config.php(2): include('/home/pacificri...') #3 /home/pacificrimlabs/public_html/manage/includes/initialize.php(121): include_once('/home/pacificri...') #4 /home/pacificrimlabs/public_html/includes/config.php(253): include('/home/pacificri...') #5 /home/pacificrimlabs/public_html/index.php(9): include('/home/pacificri...') #6 {main} thrown in /home/pacificrimlabs/public_html/manage/includes/classes/db.php on line 119