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-12-07" AND `id` IN (4672,8280,15569,17547,57755,65910,100807,121634,3813,6419,9974,17560,19905,28310,31756,60622,63635,65750,91922,113272,261,287,371,473,480,497,503,505,523,543,760,763,768,799,803,820,833,893,1050,1064,1066,1119,1245,1331,1409,1454,1623,1673,1676,1728,1818,1849,1872,1890,1964,1974,2058,2088,2138,2151,2154,2192,2203,2237,2418,2628,2629,2662,2698,2705,2826,2840,2850,3002,3067,3115,3141,3167,3273,3305,3361,3365,3441,3506,3540,3560,3612,3644,3690,3701,3768,3811,3842,3868,3873,3892,3951,3975,3977,4037,4102,4170,4171,4221,4268,4296,4341,4389,4483,4528,4593,4606,4627,4704,4819,5006,5104,5147,5152,5168,5196,5327,5563,5622,5682,5687,5723,5724,5789,6000,6096,6127,6129,6255,6389,6390,6497,6500,6510,6556,6583,6613,6848,6925,6949,6973,6984,7035,7093,7136,7242,7342,7366,7486,7632,7823,7937,7959,8029,8037,8213,8217,8278,8282,8289,8309,8312,8372,8393,8417,8489,8513,8670,8675,8762,8802,8830,8899,8989,9062,9075,9128,9268,9310,9326,9363,9490,9512,9540,9617,9675,9692,9779,9839,9886,9980,10002,10007,10147,10229,10241,10253,10298,10383,10479,10489,10591,10661,10681,10718,10857,10868,10966,10968,11072,11081,11197,11481,11571,11587,11670,11885,11918,12055,12075,12130,12179,12203,12205,12240,12285,12312,12391,12403,12496,12505,12514,12586,12595,12730,12788,12851,13020,13045,13086,13089,13280,13321,13433,13502,13525,13591,13616,13724,13819,13833,13918,13970,13978,14008,14027,14082,14096,14109,14135,14156,14181,14288,14338,14599,14675,14837,14868,14917,14987,14995,15005,15008,15067,15074,15116,15291,15442,15466,15493,15516,15524,15592,15597,15672,15675,15713,15820,15897,16000,16001,16032,16057,16120,16280,16312,16313,16718,16835,16923,17021,17077,17107,17109,17112,17236,17256,17270,17274,17290,17346,17365,17405,17562,17640,17770,17843,17904,17976,17981,17983,18112,18127,18145,18170,18177,18181,18185,18223,18372,18458,18527,18563,18692,18702,18731,18781,18815,18984,19012,19108,19122,19303,19554,19573,19786,19820,19825,19837,19865,19959,20045,20073,20103,20143,20186,20364,20384,20424,20445,20510,20581,20595,20642,20752,20841,20870,20880,20924,20945,21206,21257,21464,21528,21548,21571,21606,21674,21689,21702,21738,21828,21989,22092,22161,22211,22249,22352,22501,22506,22546,22675,22730,22738,22799,22884,23228,23260,23270,23281,23293,23343,23376,23402,23423,23523,23576,23678,23730,23787,23789,23820,23871,23938,23991,24115,24120,24227,24228,24433,24496,24525,24545,24589,24622,24627,24797,24816,24840,24861,24868,24907,24966,25033,25242,25291,25311,25321,25350,25404,25478,25508,25534,25606,25636,25669,25709,25820,25823,25834,25857,26008,26084,26162,26185,26261,26304,26357,26366,26390,26428,26442,26456,26518,26530,26684,26701,26702,26715,26776,26782,26840,26860,26890,26937,26963,26968,27000,27050,27094,27134,27164,27225,27237,27255,27260,27299,27340,27377,27472,27642,27648,27699,27705,27797,27828,27905,27999,28020,28045,28075,28159,28224,28277,28284,28318,28353,28375,28477,28487,28498,28588,28714,28752,28788,28803,28805,28940,28955,29057,29062,29107,29184,29327,29446,29467,29621,29667,29737,29740,29823,29922,29982,29997,30106,30169,30230,30234,30421,30509,30515,30559,30589,30662,30703,30715,30791,30950,30952,31003,31025,31136,31150,31152,31299,31331,31370,31379,31423,31445,31538,31628,31725,31733,31904,31923,31936,31942,31953,31964,31996,32151,32160,32195,32207,32286,32289,32327,32396,32458,32481,32521,32554,32557,32680,32690,32933,32971,33106,33169,33195,33214,33234,33237,33258,33383,33440,33480,33530,33588,33749,33872,33873,33891,33909,33957,33962,34002,34013,34198,34227,34363,34381,34428,34562,34667,34791,34919,34942,34960,34969,35070,35079,35102,35112,35154,35218,35239,35275,35359,35403,35448,35458,35470,35504,35566,35584,35781,35791,35800,35953,36038,36105,36116,36122,36200,36237,36252,36301,36502,36520,36526,36586,36608,36675,36712,36801,37014,37069,37157,37243,37321,37365,37396,37469,37508,37518,37533,37575,37589,37606,37607,37695,37729,37768,37794,37852,37975,38072,38119,38166,38216,38219,38231,38259,38430,38567,38635,38647,38692,38741,38856,38938,39088,39120,39135,39156,39165,39267,39274,39341,39569,39605,39627,39679,39815,39837,39918,40022,40114,40216,40225,40230,40314,40369,40546,40649,40696,40720,40743,40840,40898,41031,41033,41046,41181,41335,41345,41360,41407,41571,41593,41607,41653,41660,41687,41712,41766,41855,41866,41869,41878,41891,42013,42112,42128,42187,42249,42384,42397,42406,42413,42510,42540,42589,42602,42647,42688,42728,42766,42778,42780,42870,42947,42953,42972,43020,43026,43048,43052,43111,43168,43207,43299,43464,43547,43565,43675,43797,43816,43817,43905,43965,44054,44064,44230,44270,44326,44344,44396,44420,44437,44503,44651,44724,44763,44831,44998,45012,45027,45166,45215,45303,45394,45559,45595,45681,45682,45694,45747,45869,45894,45926,46026,46394,46475,46509,46540,46555,46561,46581,46639,46661,46697,46804,46829,47031,47047,47119,47138,47279,47324,47331,47336,47420,47426,47445,47544,47569,47591,47625,47648,47688,47723,47746,47754,47776,47846,47901,47912,47976,48021,48071,48249,48505,48544,48561,48675,48711,48846,48848,) ORDER BY `date` DESC LIMIT 0, 36;