г. Санкт-Петербург, Выборгское ш.25

Fatal error: Uncaught Exception: 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 ca.id' at line 1 query: select ca.id, ca.slug, ca.title, group_concat(DISTINCT(p.value) SEPARATOR ';') as group_values from category_attributes ca join product_attributes p on p.attribute_id = ca.id where ca.category = group by ca.id in /home/users/r/rolexus/domains/remontvodonagrevatelei.ru/inc/MysqliDb.php:2006 Stack trace: #0 /home/users/r/rolexus/domains/remontvodonagrevatelei.ru/inc/MysqliDb.php(563): MysqliDb->_prepareQuery() #1 /home/users/r/rolexus/domains/remontvodonagrevatelei.ru/catalog.php(167): MysqliDb->rawQuery('select ca.id, c...') #2 {main} thrown in /home/users/r/rolexus/domains/remontvodonagrevatelei.ru/inc/MysqliDb.php on line 2006