Fatal error: Uncaught ZEXCEPTION: Invalid query 'select tag.tag_id, tag.created, tag.user_id, tag.name, joke_tag_map.joke_id from joke_tag_map left join tag on joke_tag_map.tag_id = tag.tag_id where joke_id in (167,)': 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
exception 'ZException' in /var/www/krapl/include/DBI.class.php:185
Stack trace:
#0 /var/www/krapl/include/DBI.class.php(235): DBI->query_raw('select tag.tag_...', Array)
#1 /var/www/krapl/include/ORM.class.php(295): DBI->query('select tag.tag_...', Array)
#2 /var/www/krapl/include/Joke.class.php(253): ORM::find(Array)
#3 /var/www/krapl/www/cackl/joke-list.html(60): Joke::addTagDetail(Array)
#4 /var/www/krapl/include/KraplPage.class.php(266): JokeListPage->onGet()
#5 /var/www/krapl/www/cackl/joke-list.html(81): KraplPage->processRequest()
#6 {main}
thrown in /var/www/krapl/include/DBI.class.php on line 185