Warning: Creating default object from empty value in /home/atrocity/public_html/view/profileview.php on line 94

Fatal error: Uncaught exception 'Exception' with message 'Database error 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2' in /home/atrocity/public_html/classes/class_database.php:230 Stack trace: #0 /home/atrocity/public_html/classes/class_database.php(150): Database->_query('adoptable_stats', Array, 'select', 'id=') #1 /home/atrocity/public_html/classes/class_ownedadoptable.php(58): Database->select('adoptable_stats', Array, 'id=') #2 /home/atrocity/public_html/view/profileview.php(108): OwnedAdoptable->__construct(NULL) #3 /home/atrocity/public_html/classes/class_frontcontroller.php(100): ProfileView->view() #4 /home/atrocity/public_html/index.php(79): FrontController->render() #5 /home/atrocity/public_html/index.php(83): IndexController::main() #6 {main} thrown in /home/atrocity/public_html/classes/class_database.php on line 230