SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'GROUP BY add_item.id' at line 3 at /var/www/a4work/data/www/shinapoint.ru/engine/Inclusio/Component/ItemAdd/Class.php line 134
Array
(
    [code] => 1064
    [message] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'GROUP BY add_item.id' at line 3
    [query] => SELECT Count(add_item.id) FROM `add_item`
				INNER JOIN add_count_item ON add_item.id = add_count_item.idItem
				WHERE  add_item.Visible=1 AND add_count_item.Count>0 AND add_count_item.Price>0 AND `CategoryId` IN (12369) AND  GROUP BY add_item.id
				
    [context] => /var/www/a4work/data/www/shinapoint.ru/engine/Inclusio/Component/ItemAdd/Class.php line 134
)