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(2338,2339,2340,2341,2342,2343,2344,2345,2346,2347,2348,2350,2351,2352,2353,2354,2355,2356,2357,2358,2359) ORDER BY p.offers DESC, , rating asc 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 asc LIMIT 0,35' at line 1