Błąd w zapytaniu: SELECT p.id, p.id_category, p.name, p.path, p.plink, p.rating, p.rating_nb, p.custom FROM zs_product AS p WHERE p.id_category IN(1723,1724,1725,1726,1727,1728,1729,1731,1732,1733,1734,1736,1737,1738,1739,1740,1741,1742,1743,1744) ORDER BY p.offers DESC, , rating desc LIMIT 0,35
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 ' rating desc LIMIT 0,35' at line 1