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-08-20" AND `id` IN (52219,15752,291,537,934,963,1404,2013,2180,2407,2557,2880,3089,3907,5730,6056,6102,6761,6863,7073,7177,7686,7974,8065,8193,8647,8778,9338,9423,9814,9892,9997,10148,10278,11023,11097,11213,11330,12054,12074,12181,12587,13117,13546,13913,14318,14836,15022,15055,15088,15095,15573,15903,16177,16238,16346,16469,16858,17080,17732,17748,18627,18663,18679,19075,19132,19205,20076,20741,20974,21115,21238,21813,23055,23078,23244,23602,23694,23966,24129,24988,25576,25916,26087,26403,26476,27075,27326,27577,28461,29535,29663,30147,30609,30816,31008,31223,31371,31415,31474,31570,31658,31858,32055,32121,32184,32959,33068,33590,33614,34399,34440,34992,36286,36435,36630,36984,37073,37158,37247,37496,37596,38017,38080,38089,38099,38113,38117,38233,38982,39301,40389,40564,40640,40685,41240,41598,41868,41958,42305,42504,42986,43150,43203,43416,44465,44590,44764,46684,46916,47244,47254,47362,47413,47914,48119,48508,48617,48618,49042,49084,50501,50688,50813,50924,51259,51764,52430,52620,52752,52762,53067,53609,53695,53740,54151,55059,55783,55857,56208,57604,57714,57954,58446,58539,58765,59036,59142,59391,59502,59590,59947,60146,60440,60498,60535,60670,61626,61869,62089,63562,63895,64272,64316,64857,64919,64941,65198,65372,65524,65552,65694,66334,66346,66392,66437,66745,66944,67169,67372,67659,68249,68478,69096,69569,69641,69691,69941,70299,70615,70704,71158,71305,71513,71679,72236,72795,72980,74178,74358,74375,74647,75581,75824,75836,76324,76327,76731,77217,78682,79009,79237,79782,80871,81838,81945,82534,82728,83248,83947,84200,84394,84885,84950,85244,86416,87071,87072,87593,87665,89149,89363,89413,89871,89877,90205,90302,90321,91596,91608,91898,92023,93142,93200,93977,94236,94361,94414,94475,94787,96069,96346,96579,96778,96986,98261,98318,98523,98684,99066,99330,99357,99648,101136,101297,101841,102001,102228,103154,103271,103724,104074,104120,104357,104462,104636,106025,106633,106821,107445,107524,107531,107760,107890,108035,108239,108387,108567,109130,109706,110079,110171,111021,111078,111912,112222,113393,113428,113671,113994,114177,115596,115619,116403,116523,116876,117078,117201,117469,118659,118771,118789,118991,119747,119800,120116,120286,120579,120692,120945,121266,121933,122706,122824,123264,123960,124102,124646,121,340,522,807,1046,1565,2126,2551,3134,3729,4498,4914,4963,5452,5610,5747,6559,6943,7962,8184,8351,9594,9783,9818,10794,11012,11444,12274,12697,12901,13072,14973,15046,15100,15182,15289,15344,15351,15919,16054,16395,16887,18753,18836,19496,20237,20245,20869,21399,22098,22158,22375,23404,23487,23555,23716,23744,23814,25065,25964,26118,26287,27335,27439,27481,27681,27959,28145,28340,28819,28989,29269,29586,29891,31060,31265,31385,31631,31805,32113,32303,32349,32901,33037,33104,33452,34333,34876,35936,36156,36733,36907,37212,38149,38286,39046,39383,39397,39560,40199,40775,41595,41673,41725,41917,42193,42194,42400,42710,43003,43208,43267,43288,43428,43453,43589,43764,44124,44278,44524,44591,44595,45298,45887,46546,46709,46995,47229,47307,47786,47941,47997,48210,48263,48563,48832,49013,49693,49711,50188,50270,50273,50786,50815,52495,52854,53073,53804,53975,54508,54658,54751,55700,55796,56815,56977,57122,57552,57950,58648,59031,59550,59898,60051,60433,60479,60815,61236,62155,62175,62684,63438,64240,64410,64715,64758,64851,65367,65566,66279,66283,66708,67486,67500,68054,68201,68217,70265,70778,71567,71593,72623,72725,72867,73922,74010,74383,74607,74864,74924,74988,75078,75492,75550,75624,75896,75929,76151,76156,76193,76256,76896,77089,77452,78237,78549,78819,78962,79068,79232,79844,80539,80589,81099,81204,81498,81524,81756,82156,82947,83895,83904,84902,85030,85138,85711,87896,88029,88142,88309,88371,88766,89904,90037,90070,90693,90922,91337,91697,91823,92227,92374,93035,93088,93254,93471,93717,93722,94472,94508,95257,95503,95819,95884,97386,97453,97472,97755,98333,98501,98755,98898,98935,99646,100321,100387,100630,101202,101535,102358,102695,102798,102907,103672,104052,104253,104647,104657,104797,104878,105035,105301,105459,105510,105655,105750,105850,106209,106383,106450,106836,107166,107871,108145,108180,108197,108574,109233,109814,110147,110160,110207,110829,111334,111381,111419,111873,112008,112278,113313,113891,113949,114014,114052,114506,114610,114849,115128,115351,115476,115787,115871,116789,116958,118087,118234,118586,118612,118896,119286,119598,120080,120181,120304,120953,121092,121424,121577,121821,121992,122490,122496,122807,123713,123801,124173,124420,124573,125098,125283,3283,9296,12257,12669,15755,20621,43185,55125,55892,59444,60614,62047,65376,66793,71599,74055,82202,86263,98930,105086,110252,124712,29,47,55,84,109,115,210,233,274,313,318,339,422,468,475,575,606,626,805,827,842,873,880,915,929,986,1015,1098,1161,1215,1227,1231,1245,1247,1272,1283,1330,1386,1401,1483,1696,1708,1828,1846,1871,1897,1946,1952,2021,2031,2034,2039,2114,2117,2181,2220,2336,2353,2356,2490,2493,2496,2547,2563,2567,2641,2669,2702,2705,2720,2735,2740,2832,2834,2837,2858,2896,2916,2948,2970,3054,3058,3142,3164,3177,3216,3220,3221,) ORDER BY `date` DESC LIMIT 0, 36;