Fatal error: Uncaught exception 'db_exception' with message 'Database: 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 'AND nsfw != 1 ORDER BY id DESC LIMIT 1' at line 1' in /home/web/thatvideosite/library/db.php:31 Stack trace: #0 /home/web/thatvideosite/video.php(39): db->query_single_array('SELECT * FROM c...') #1 {main} thrown in /home/web/thatvideosite/library/db.php on line 31