Error Number: 1055
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'dihu53yo_aker.product_gun.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT *, product_gun.gun_id, guns.id as gun_id FROM product_gun INNER JOIN guns ON guns.id = product_gun.gun_id INNER JOIN gunmanufacturer ON gunmanufacturer.id = guns.manufactureerid WHERE product = '132' GROUP BY manufacturer
Filename: /home/dihu53yo/public_html/models/site_model.php
Line Number: 298