SQL Error: SELECT p.*FROM product AS pINNER JOIN item AS i ON i.product = p.idWHERE p.active = 1&& category= GROUP BY p.id ORDER BY p.weight ASC, p.name ASC LIMIT 0,120
Array([0] => 42000[1] => 1064[2] => 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 p.id ORDER BY p.weight ASC, p.name ASC LIMIT 0,120' at line 4)