Fatal error: Uncaught mysqli_sql_exception: 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 1 in /home/esme/public_html/DB.class.php:42 Stack trace: #0 /home/esme/public_html/DB.class.php(42): mysqli_query(Object(mysqli), 'SELECT title FR...') #1 /home/esme/public_html/DB.class.php(61): DB->query('SELECT title FR...') #2 /home/esme/public_html/content.class.php(202): DB->getOne('SELECT title FR...') #3 /home/esme/public_html/index.php(60): content->getTitle(false) #4 {main} thrown in /home/esme/public_html/DB.class.php on line 42