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 (47529,11983,39401,49035,55368,97919,109682,111001,118466,34334,6331,8166,21781,26388,27569,30896,36885,68989,72438,81012,91915,99040,102025,9,103,159,205,240,284,286,301,308,352,382,396,398,470,500,654,668,687,748,751,754,786,892,949,959,991,997,1009,1016,1067,1095,1174,1184,1196,1199,1208,1217,1253,1279,1300,1333,1337,1383,1451,1514,1549,1565,1566,1573,1610,1752,1766,1770,1773,1795,1822,1864,1905,1943,1970,1972,2063,2067,2073,2183,2190,2325,2403,2427,2444,2463,2484,2540,2601,2608,2713,2732,2827,2839,2853,2860,2884,2894,2932,2968,2976,2988,3031,3092,3127,3180,3198,3229,3240,3290,3313,3385,3408,3415,3422,3463,3479,3563,3572,3586,3623,3685,3756,3767,3791,3841,3861,3865,3899,3955,3961,3968,4000,4026,4038,4041,4183,4191,4234,4259,4293,4300,4318,4328,4357,4510,4551,4555,4565,4568,4635,4636,4641,4666,4695,4707,4734,4760,4791,4861,4866,4923,4939,4950,4959,4977,5000,5078,5128,5162,5164,5231,5277,5312,5462,5575,5641,5674,5745,5750,5772,5805,5876,5878,5895,5952,5961,5996,5998,6060,6103,6117,6118,6161,6167,6200,6227,6236,6249,6256,6258,6266,6274,6327,6329,6342,6369,6377,6397,6440,6499,6506,6537,6544,6552,6637,6695,6731,6751,6758,6779,6788,6816,6888,6900,6911,6935,6976,7099,7209,7217,7266,7281,7342,7400,7492,7522,7542,7558,7657,7660,7695,7702,7740,7773,7821,7909,7912,7913,7922,7945,7981,8019,8038,8040,8059,8086,8098,8128,8136,8161,8243,8293,8301,8303,8342,8384,8385,8447,8462,8464,8516,8560,8610,8669,8686,8722,8749,8754,8781,8784,8810,8841,8928,8971,9068,9083,9116,9150,9161,9185,9206,9227,9314,9369,9400,9455,9461,9550,9583,9608,9612,9634,9656,9714,9769,9843,9869,9890,9947,10028,10093,10122,10196,10246,10286,10325,10334,10392,10407,10422,10499,10515,10540,10639,10679,10680,10709,10738,10746,10773,10785,10849,10858,10877,10887,10907,10912,10942,10970,11025,11062,11075,11088,11181,11194,11246,11253,11280,11340,11386,11416,11477,11507,11533,11550,11566,11574,11586,11593,11617,11623,11643,11662,11679,11707,11710,11770,11846,11868,11947,11952,11992,12021,12051,12062,12070,12079,12112,12138,12162,12242,12244,12274,12321,12331,12333,12363,12400,12412,12438,12479,12509,12603,12607,12640,12649,12684,12693,12700,12756,12832,12844,12862,12878,12935,13023,13059,13103,13164,13169,13218,13225,13254,13297,13340,13373,13377,13407,13436,13439,13498,13510,13550,13598,13602,13629,13653,13695,13767,13775,13802,13814,13837,13935,13952,13980,13992,13999,14045,14057,14093,14123,14167,14174,14175,14190,14215,14239,14246,14269,14315,14319,14320,14330,14403,14492,14499,14519,14598,14615,14674,14684,14762,14790,14972,14994,15051,15134,15205,15206,15239,15436,15447,15451,15470,15473,15500,15507,15539,15544,15555,15623,15652,15655,15658,15690,15747,15788,15813,15816,15863,15877,15918,15950,16003,16007,16097,16125,16160,16195,16277,16300,16307,16343,16360,16398,16405,16486,16493,16495,16500,16594,16625,16677,16713,16850,16942,16984,17000,17041,17150,17191,17207,17237,17268,17275,17283,17409,17436,17437,17536,17555,17570,17581,17591,17604,17672,17700,17714,17801,17809,17827,17846,17847,17893,17958,18033,18080,18132,18141,18196,18286,18346,18349,18396,18451,18453,18534,18541,18553,18590,18612,18614,18638,18660,18698,18769,18780,18822,18850,18920,18975,18983,19002,19006,19054,19095,19109,19194,19204,19212,19264,19295,19300,19329,19386,19417,19418,19465,19467,19494,19659,19723,19725,19785,19826,19838,19847,19863,19912,19914,19920,19925,19945,20068,20098,20189,20195,20197,20214,20294,20369,20405,20430,20478,20479,20489,20500,20554,20618,20647,20677,20703,20730,20768,20779,20805,20871,20896,20938,21061,21065,21172,21182,21198,21223,21264,21311,21494,21497,21501,21512,21538,21582,21686,21717,21762,21839,21847,21854,21870,21891,21901,21913,21954,21969,21972,21978,22063,22080,22082,22131,22135,22142,22171,22188,22199,22300,22303,22305,22310,22323,22327,22374,22404,22425,22437,22471,22498,22536,22567,22613,22618,22631,22637,22663,22688,22695,22708,22713,22735,22754,22794,22806,22829,22833,22872,22931,22953,22954,22985,23004,23049,23050,23051,23096,23108,23138,23176,23239,23274,23369,23392,23451,23471,23529,23531,23559,23565,23577,23643,23661,23704,23725,23797,23824,23836,23844,23890,23953,23963,23971,23994,24006,24011,24097,24134,24190,24200,24218,24239,24269,24301,24302,24321,24404,24465,24490,24537,24678,24706,24708,24742,24748,24770,24771,24778,24792,24804,24810,24817,24826,24845,24855,24864,24866,24920,24980,24995,25010,25073,25079,25086,25150,25217,25233,25327,25331,25338,25353,25408,25436,25453,25457,25472,25517,25545,25567,25633,25639,25667,25685,25791,25873,25896,25993,26022,26035,26131,26146,26173,26205,26217,26226,26231,26277,26288,26342,26373,26386,26417,26420,26465,26469,26475,26543,26577,26582,26595,26631,26851,26857,26891,26958,26970,26971,27076,27118,27204,27220,27272,27297,27454,27496,27543,27556,27559,27621,27657,27714,27795,27818,27942,27960,27965,27983,28023,28031,28044,28068,28210,28260,28293,28306,28328,28336,28381,28386,28411,28425,28476,28626,28636,28658,28719,28730,28766,28795,28908,28929,28961,28983,28994,29008,29017,29033,29044,29067,) ORDER BY `date` DESC LIMIT 0, 36;