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(3038,3039,3040,3042,3043,3044,3046,3047,3048,3050,3051,3052,3053,3054,3055,3056,3057,3058,3059,3060,3062,3063,3065,3066,3067,3068,3069,3070,3071,3072,3073,3074,3075,3076,3077,3078,3079,3081,3082,3084,3085,3087,3088,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3105,3106,3107,3109,3110,3111,3113,3114,3116,3117,3119,3120) 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