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-11-18" AND `id` IN (67773,25317,85035,4209,33036,54742,107441,66883,22913,32090,61165,78005,91303,94946,531,1395,4269,10737,23007,25312,34538,38709,55344,56441,59467,68467,69749,76112,78481,79015,81113,82980,83279,86401,93263,99722,106798,116845,311,487,1376,1505,1631,2312,2694,3446,3646,3684,3717,4081,5185,5369,6248,6465,6491,6605,6859,7264,7374,7397,7712,7796,8665,8712,8725,8860,9011,9171,9305,9577,9842,9851,9926,10132,11045,11226,11314,11761,11792,11950,12007,12100,12580,13209,13370,13400,13979,14633,14798,15383,16129,17213,17736,17859,18108,18131,18455,18610,18749,18790,19705,19744,19875,19957,19982,20005,20015,20897,21274,21463,21664,21973,22010,22147,23140,23794,24210,24572,24669,24717,25258,25668,25699,25742,25877,25900,25905,27005,27200,27644,27945,28943,29220,29907,30160,30431,31235,31641,31776,31949,31970,32010,32130,32923,33473,33476,33871,34893,35240,35243,35339,35587,35737,35755,36289,36667,37207,37482,37621,37818,37968,37970,37991,38250,38861,39285,40233,40421,40468,41040,41648,41765,42224,42409,42513,42522,42637,43023,43148,43477,44092,44355,44671,44999,45650,45997,46344,47144,47306,48155,48193,48398,48565,48733,48814,50344,50586,50911,51082,51350,51456,51790,51836,52102,52294,52881,53903,53939,53962,54064,54119,55319,55634,55657,56471,56608,57349,57679,58076,58404,58606,58825,58852,59101,59146,59296,59415,59588,60621,61042,61113,61482,62616,63187,63296,63663,63741,63976,64981,65338,65350,65853,66271,66504,67263,67357,68280,68301,68707,68846,68905,69042,69116,69316,69761,71095,71244,71266,71577,71856,71950,72071,72507,72609,72611,73459,73576,73581,73782,73847,74077,74933,75064,75409,75512,75840,75907,76128,76135,77030,77234,77459,77488,77692,78022,78113,78171,78174,78532,78611,78698,78713,78729,78754,78858,79508,79545,80480,80513,80611,80691,81278,81433,81462,81484,81715,83332,83483,84091,84250,84348,85321,85846,86059,86089,86290,86473,86826,86903,86954,87475,87581,88114,88128,88740,89351,89383,89550,89734,89861,90340,90377,90550,91938,92394,93676,93702,94021,94529,94615,94688,95696,96268,96877,97008,97020,97066,97300,97345,97730,98434,99628,99686,99765,99993,100226,100298,100386,100705,100930,101360,101526,101631,101684,102299,102501,102917,103198,103242,103272,103460,103653,104861,104897,105477,106128,106718,107214,107515,107912,107954,108048,108614,108640,108805,109218,109651,110076,110515,111121,111167,111533,111742,111847,112134,112592,113295,113521,114010,114398,114739,114904,116424,116519,116889,117313,117518,117816,117876,118498,119268,119726,120880,121409,122776,123925,124207,124300,124537,124889,125372,108861,123404,1854,1983,2422,2774,6009,6133,6427,6777,7709,7730,7823,8451,9081,10313,10765,11265,14506,16622,16974,17333,17750,17910,18223,18653,19087,20602,20796,21398,22800,23862,24933,25241,25955,26444,26761,28016,28523,28830,30820,31072,32512,33628,33824,34056,34677,34900,34997,35542,35554,36676,37050,37318,37992,38179,38305,38573,38664,38838,40103,40613,44160,44409,46137,47003,47920,49209,49844,52925,53070,53375,53385,55094,56592,56734,57919,60453,62672,63308,64168,64907,64922,65396,66646,67809,68050,69435,69634,69740,70057,71049,71926,72829,73124,73179,74149,74343,75300,75849,77280,78154,78239,78308,78648,80588,81003,81325,81852,82171,82330,82472,82595,83007,84581,85067,85838,85991,86295,89915,91335,92148,92545,92637,92808,94611,96725,98246,99862,101056,102827,103328,103340,103367,105628,105854,106190,106243,106293,106548,106791,107202,107675,107998,109289,110437,110765,110932,113195,114044,118692,120739,122085,122495,123021,123237,125094,125257,20,25,54,60,108,127,139,156,187,200,213,217,232,234,253,258,270,375,384,431,440,484,485,556,557,560,570,575,577,601,640,651,653,733,749,761,796,799,812,822,840,870,882,974,979,1039,1057,1190,1218,1232,1241,1254,1256,1293,1296,1304,1336,1480,1491,1501,1533,1599,1609,1635,1649,1735,1776,1809,1817,1835,1839,1896,1910,1915,1961,1992,2016,2024,2051,2053,2079,2132,2186,2237,2239,2253,2256,2276,2301,2340,2346,2380,2514,2555,2577,2578,2590,2613,2615,2679,2693,2810,2844,2862,2961,3036,3037,3039,3094,3100,3104,3131,3196,3204,3222,3234,3265,3279,3299,3323,3384,3391,3400,3409,3480,3505,3509,3527,3552,3592,3629,3665,3673,3678,3683,3698,3699,3712,3736,3750,3779,3922,3988,4007,4011,4062,4138,4145,4148,4153,4177,4208,4282,4320,4321,4349,4364,4372,4394,4446,4447,4486,4502,4504,4513,4545,4550,4553,4578,4589,4637,4706,4728,4759,4789,4794,4849,4874,4908,4944,4979,5035,5053,5095,5138,5192,5220,5279,5287,5330,5341,5408,5458,5481,5487,5519,5597,5618,5675,5676,5680,5701,5714,5732,5742,5871,5879,5927,5934,5936,5967,5997,6012,6013,6048,6065,6074,6089,6153,6155,6186,6188,6210,6240,6283,6354,6356,6364,6383,6393,6418,6455,6475,6531,6549,6602,6614,6626,6664,6668,6720,6763,6764,6773,6855,6926,6929,6953,6965,7015,7029,7032,7060,7077,7094,7095,7155,7163,7218,7228,7241,7301,7310,7371,7376,7432,7438,7465,7557,7569,7592,7596,7614,7623,7631,7653,7737,7754,7786,7817,7818,7848,7859,7906,7919,7941,7960,7996,8005,8012,8126,8132,8143,8203,8217,8237,8258,8276,8284,8312,8329,8330,8352,8489,8509,8512,) ORDER BY `date` DESC LIMIT 0, 36;