1064 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 ') and r.date_added > '2014-12-31' and r.reviews_rating > 2 and rd.languages_id=1' at line 2
in:
[select count(r.reviews_id) as total from reviews_description AS rd LEFT JOIN reviews AS r ON(rd.reviews_id = r.reviews_id) WHERE r.products_id in (40434,40435,40436,40441,40442,40444,40445,40446,40459,40463,40464,40465,40466,40467,40468,40469,40470,40487,40488,40489,40490,40491,40492,40493,40494,40496,40498,40621,40622,40623,40624,40625,40626,40627,40630,40631,40732,40733,40734,40735,40736,40738,40739,40740,40826,40827,40828,40829,41569,41570,41571,41574,41575,41576,41577,41578,41579,41661,41662,41663,41664,41665,41668,41669,41671,41917,41918,41919,41922,41923,41924,41925,41926,41927,41956,41957,41958,41959,41962,42002,42003,42005,42006,42007,42008,42009,42010,42014,42015,42016,42018,42020,42021,42023,42043,42052,42061,42273,42274,42275,42276,42284,42285,42286,42287,42316,42317,42318,42319,42672,42673,42674,42675,42676,44047,44048,44050,48360,48361,48362,48363,50060,50062,50075,50094,50096,50097,68626,68627,68628,68629,69240,69316,70252,12285) and (r.country_id in() and r.date_added > '2014-12-31' and r.reviews_rating > 2 and rd.languages_id=1 or rd.languages_id=2) AND r.status = 1 AND r.check_status=1 and r.reviews_rating = 1]