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 'GROUP BY a.id ORDER BY a.date_add DESC LIMIT 3' at line 10
SELECT a.*, a.descr_shot_ukr as descr_shot, a.name_ukr as name, a.html_ukr as html, akt.name_ukr as akcii_type_name FROM akcii_global a LEFT JOIN akcii_type akt ON akt.id = a.akcii_type_id WHERE a.status = 1 AND a.id != GROUP BY a.id ORDER BY a.date_add DESC LIMIT 3