Database error: Query BF_Text::loadAll - Invalid SQL: SELECT t1.id FROM texts AS t1, resource AS t2 WHERE t1.id = '158' AND t1.status != 'CL' AND ((t1.start_time <= 1728710902 AND (1728710902 <= t1.end_time OR t1.end_time = 0)) OR (t1.start_time = 0 AND 1728710902 <= t1.end_time) OR (t1.start_time = 0 AND t1.end_time = 0)) AND t2.id = t1.r_id AND t2.status = 'PB' AND t1.lang = 'lv' GROUP BY t1.id ORDER BY t1.ins_date DESC
MySQL Error: 1055 (Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'zvidris_sabri.t1.ins_date' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by)
Session halted.