Invalid query: Whole query: SELECT id, short_id, short_title, display_categories, data_categories, icon_image, normal_image FROM portfolio where active = '1' ORDER BY id DESC