Database error: Query BF_Gallery_Cat::loadAll - Invalid SQL: SELECT t1.*, t2.url as url2 FROM gallery_cat as t1 LEFT JOIN gallery as t2 ON t1.pic_id = t2.id WHERE t1.lang = 'lv' AND t1.p_id = '1' AND t1.status = 'PB' AND type = '0' ORDER BY t1.title DESC
MySQL Error: 1054 (Unknown column 'type' in 'where clause')
Session halted.