SELECT COUNT(content.id) AS c FROM content INNER JOIN tag ON content.id = tag.content_id WHERE (content.start_time <= NOW() or content.start_time IS NULL) AND content.status = 1 AND (keyword IN ('balloon','duck','macy's','parade','Thanksgiving')) AND content.id <> 10203
Fatal error: Uncaught exception 'Exception' with message '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 's','parade','Thanksgiving')) AND content.id <> 10203' at line 4' in /var/www/html/funmansion/lib/core/DBMySQL.php:144 Stack trace: #0 /var/www/html/funmansion/lib/core/DB.php(104): DBMySQL->getResultRow('SELECT COUNT(co...', 1) #1 /var/www/html/funmansion/lib/model/ContentList.php(655): DB::getResultRow('SELECT COUNT(co...') #2 /var/www/html/funmansion/action/content.inc(320): ContentList->getRelated(0, 5, Array, NULL, false, '10203') #3 /var/www/html/funmansion/lib/core/App.php(147): _Content->item() #4 /var/www/html/funmansion/index.php(13): App::process('public.home') #5 {main} thrown in /var/www/html/funmansion/lib/core/DBMySQL.php on line 144