Fatal error: Uncaught Exception: Error: 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
`txt`, `pa`.`attribute_id`
HAVING
`txt` != ''
ORDER BY
' at line 41<br />Error No: 1064<br />
SELECT
`a`.`attribute_id`,
REPLACE(REPLACE(TRIM(pa.text), '
', ''), '
', '') AS `txt`,
`ad`.`name`,
`ad`.`mf_tooltip` AS `tooltip`,
`agd`.`name` AS `gname`,
`agd`.`attribute_group_id`
FROM
`fdb_product` AS `p`
INNER JOIN
`fdb_product_to_store` AS `pts`
ON
`p`.`product_id` = `pts`.`product_id` AND `pts`.`store_id` = 0
INNER JOIN
`fdb_product_option_value` AS `pov`
ON
`p`.`product_id` = `pov`.`product_id`
INNER JOIN
`fdb_product_attribute` AS `pa`
ON
`p`.`product_id` = `pa`.`product_id` AND `pa`.`language_id` = 5
INNER JOIN
`fdb_attribute` AS `a`
ON
`a`.`attribute_id` = `pa`.`attribute_id`
INNER JOIN
`fdb_attribute_description` AS `ad`
O in /home/fionahom/fionahome.com.ua/www/system/library/db/mysqli.php on line 49