query: SELECT `mod_catalog_items`.*, ( SELECT `image` FROM `mod_catalog_images` WHERE `mod_catalog_images`.`item_id` = `mod_catalog_items`.`id` AND `is_main` = 1 LIMIT 1 ) as `main_image`, ( SELECT `mod_catalog_sections_items`.`section_id` FROM `mod_catalog_sections_items` WHERE `mod_catalog_sections_items`.`item_id` = `mod_catalog_items`.`id` ORDER BY `mod_catalog_sections_items`.`section_id` ASC LIMIT 1 ) as `section_id` FROM `mod_catalog_items` WHERE `mod_catalog_items`.`if_new` = 1 ORDER BY `mod_catalog_items`.`title` ASC ASC LIMIT 0, 9

mysqli error #1064: 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 'ASC LIMIT 0, 9' at line 32