Database_Mysql::query: 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 ') ORDER BY `date` DESC LIMIT 0, 36' at line 1; SQL: SELECT `t1`.`id`, `title`, `date`, `latin`, `cat`, `views`, `comments`, `rating`, `sum_rating`, `vote_count`, `likes`, `dislikes`, `img`, `imgs`, `length`, `xfields`, (SELECT COUNT(1) FROM `awt_comments` WHERE `video_id` = `t1`.`id`) AS `comments` FROM `awt_videos` AS `t1` WHERE `publish` = 1 AND `date` <= "2019-10-20" AND `id` IN (85052,122761,47531,1157,13558,43746,70909,90323,2076,2233,2513,3223,3513,4123,4806,7109,7240,9099,9824,9887,10458,10478,10656,12738,13061,14199,15483,15759,16342,16552,17208,17375,17623,18180,19080,20651,22450,23488,25921,26491,27720,27809,28735,29970,31778,32035,33986,34124,35544,35788,35809,36992,37093,37457,38086,38693,41783,43056,43877,45428,46450,47859,47910,50133,50217,51240,52032,52935,53339,54560,54945,56490,57841,58017,61572,61852,62021,64286,65606,66077,67046,67706,70911,70955,71286,72041,72902,74216,75703,76169,76483,76510,76572,76773,77081,81669,82008,83750,85442,85453,87168,92690,93373,94796,96648,97311,97387,100424,101627,101987,103097,104304,105706,105979,110496,111195,111818,112074,112667,116577,117815,117884,122384,124546,15668,73040,20237,35023,40496,60277,70242,75416,81635,88194,89468,90102,92139,123337,209,393,447,635,778,803,894,1331,1373,1379,1612,1728,1791,1911,1947,2154,2289,2363,2973,3892,4007,4128,4195,4355,4483,4507,4560,4648,5044,5089,5365,5520,5580,5603,5606,6021,6396,6642,6946,7125,7232,7511,7591,8057,8441,8476,8486,8635,9017,9310,9388,9510,9977,10236,10298,10383,10609,10653,11539,11661,11691,11760,11825,11853,12038,12094,12299,12436,12565,12616,12958,13280,13851,13918,14039,14071,14194,14364,14401,14444,15311,15915,16086,16109,16152,16422,16484,16642,16899,16912,17039,17122,17156,17256,17562,17645,17869,17962,18428,18680,18686,18731,18818,18866,18959,18962,19201,19443,19632,19845,20549,20725,20970,21035,21579,21675,21702,21776,21916,22511,22675,22899,22901,23128,23281,24408,24565,24916,25494,25556,25900,26594,26743,27763,27793,28025,28277,28296,28434,28882,29125,29184,29737,30610,30628,30666,30743,31002,31723,32157,32356,32368,32516,32804,32853,33177,33237,33323,33646,33679,33861,34287,34486,34587,35102,35635,35650,35682,35733,36209,36432,36633,36806,37217,37224,37508,37537,37558,37579,37598,37606,37703,37790,37833,37868,38100,38284,38546,38587,38866,38940,39002,39836,39932,40201,40414,40737,40830,40871,40886,41019,41223,41604,41869,41875,41891,43951,44568,44863,44866,45101,45183,45337,45340,45584,45897,46026,46263,46479,46509,46994,47060,47426,47513,47705,47967,48320,48338,48478,49407,49615,49649,49789,49940,50075,50366,50553,50882,51012,51170,51255,52362,52603,52658,52788,52948,52985,53150,53258,53302,53332,53639,53879,53944,54159,54645,55079,55552,55861,55881,56491,57682,57746,58156,58265,58319,58326,58425,58633,58843,58960,58967,59178,59265,59299,59466,59708,59865,59920,60276,61325,61366,61444,61652,61696,62281,62752,62772,63123,63151,63354,63806,63856,64006,64682,64727,64957,64963,65152,65303,65471,65775,65926,65989,66000,66087,66413,66461,66971,66992,67515,67594,67730,67735,67853,68011,68059,68181,68585,68883,68918,68922,68993,69314,69784,69787,69959,70092,70122,70776,70827,70862,71054,71183,71316,71329,71431,71507,72306,73415,73421,73688,73842,73875,74089,74108,74168,74649,74794,75625,75675,75799,75889,75925,76170,76513,76570,76854,77226,77240,77449,77897,78057,78127,78170,78182,78307,78377,78632,78753,79074,79155,79220,79779,79785,80102,80437,80508,80565,80844,81405,82042,82274,82303,82362,82614,82645,82897,83096,83106,83420,83450,83628,83746,83791,83835,83918,83920,84241,84280,84485,84844,84925,85805,86421,86422,86475,86508,86540,86604,86702,86815,87194,87274,87300,87609,87678,87842,87889,88031,88226,88343,88501,88517,88691,88813,88823,88931,89465,89502,89527,89825,89963,90159,90199,90261,90348,90526,90586,90623,90830,90892,90923,91435,92843,92880,93575,93820,94041,94087,94455,94643,95065,95134,95234,95438,95497,95676,95821,95854,95871,96161,96409,96472,96702,96833,96994,97047,97069,97081,97274,97279,97283,97434,97440,97469,97587,97592,97835,98539,98630,98752,99233,99772,99817,99998,100100,100391,100784,100800,100871,100895,101002,101226,102114,102816,103390,103530,103873,104031,104113,104141,104394,104489,104593,105235,105787,105855,106152,106386,106584,106625,106661,106678,106754,106886,107003,107099,107436,107707,107767,107772,107868,107991,108346,108915,109638,110310,110676,110925,111271,111432,111837,111967,112123,112126,112127,112772,113396,113460,113826,113926,114064,114490,114510,114681,114703,114831,114937,115096,115164,115580,115909,116313,116739,117003,117104,117109,117358,117390,118253,118281,118312,118331,119172,119227,119288,119345,119497,119888,119896,119908,120112,120236,120247,120274,120928,121170,121174,122071,122390,122767,122819,122843,122898,123026,123115,123242,123268,123518,123787,123815,123940,124461,124595,124615,124637,124946,125302,82,192,219,297,309,322,327,328,354,403,411,413,463,499,515,545,636,638,801,867,879,900,945,955,987,1018,1024,1034,1049,1085,1102,1115,1131,1212,1216,1233,1274,1328,1343,1348,1372,1382,1406,1415,1470,1487,1554,1561,1595,1620,1674,1680,1706,1768,1865,1902,1966,1982,1996,2048,2064,2071,2092,2098,2182,2205,2226,2241,2256,2260,2281,2342,2364,2417,2443,2474,2500,2574,2594,2665,2672,2678,2745,2779,2836,2862,2881,2924,3022,3098,3128,3149,3169,3203,3209,3227,3258,3260,3264,3316,3365,3457,3535,3576,3601,3667,3788,3804,3815,) ORDER BY `date` DESC LIMIT 0, 36;