line 141 of /lib/database.class.php5

line 175 of /private/lib/database.class.php5
Database::query(SELECT count(blogs.id) as num FROM blogs WHERE f_status>0 and id in (select f_blogs_id from blogs2blogs_categories where f_blogs_categories_id={BLOG_CATEGORIES_ID}), );
line 332 of /private/lib/database.class.php5
Database::query2elt(SELECT count(blogs.id) as num FROM blogs WHERE f_status>0 and id in (select f_blogs_id from blogs2blogs_categories where f_blogs_categories_id={BLOG_CATEGORIES_ID}));
line 86 of /private/lib/sqlpaginator.class.php5
Database::count(blogs, f_status>0 and id in (select f_blogs_id from blogs2blogs_categories where f_blogs_categories_id={BLOG_CATEGORIES_ID}));
line 1567 of /private/lib/table.class.php5
SQLPaginator::getPagination();
line 1361 of /private/lib/table.class.php5
Table::parsePages(Template);
line 1333 of /private/lib/table.class.php5
Table::list2html(Template);
line 312 of /private/lib/page.class.php5
Table::parseTemplate(Template);
line 173 of /private/lib/templateparser.class.php5
Page::parseTemplate(Template);
line 94 of /run.php5
TemplateParser::directParse();
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
SELECT count(blogs.id) as num FROM blogs WHERE f_status>0 and id in (select f_blogs_id from blogs2blogs_categories where f_blogs_categories_id={BLOG_CATEGORIES_ID})