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(2898,2899,2900,2901,2902,2903,2904,2905,2906,2907,2908,2909,2910,2911,2912,2913,2914,2915,2916,2917,2918,2919,2920,2921,2922,2923,2924,2925,2926,2927) 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