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-24" AND `id` IN (46959,61121,79614,462,13589,18501,36447,65511,67292,69515,70805,76967,78289,85944,87215,107405,114894,115034,122711,6281,11672,19477,23731,26305,33388,35925,36712,38194,43187,45061,48894,49027,49344,50989,53555,54047,54316,58772,59348,61541,64267,67421,71821,72201,72631,75053,77041,80260,80297,86619,92062,109200,115851,120884,121214,123928,124810,7039,18377,34651,67441,81508,95790,96910,111926,113827,124586,28618,60320,80116,109897,11,113,505,523,646,1005,1144,1623,2092,2558,3540,4024,4600,5347,5891,6755,8312,8526,8662,10140,10319,10332,10698,10901,11081,11341,11376,11481,11543,11612,12448,14097,14325,15597,15609,15944,16362,16583,16730,18372,18485,18934,19302,19466,19708,19825,20527,21556,21646,22660,22730,22743,23972,24812,26155,26366,26691,27050,27134,27797,28045,28289,28521,29280,29327,29548,29707,30000,30515,30563,30631,30941,31146,31150,31379,31713,31923,31945,33458,34002,34667,35990,36117,36252,36563,36777,37181,37668,38220,38922,39097,39236,39288,39514,39560,40031,40126,40230,40308,40462,41664,42208,42209,42947,43835,44396,44437,44858,44961,45029,45894,46097,47008,47031,47420,47610,47766,47776,48486,48843,48846,49026,50052,50208,50792,51358,51389,51457,51581,51659,51907,51985,52481,52533,52723,52758,53540,53939,54088,54859,54927,55330,56482,56848,57618,57865,58008,58365,58567,58860,59295,60177,60785,61333,61397,61697,62761,62766,62988,63565,64314,64348,64690,64697,65327,65664,65680,66132,66157,66337,66385,67079,67306,67411,68129,68632,69661,70004,70425,70869,71381,71737,71862,72383,72965,73301,73321,73886,74288,74789,75098,75490,75742,76354,76458,76514,76826,77263,77387,77669,78058,78403,78679,79825,80190,80283,80762,80801,81247,81661,82084,83492,83817,84729,84794,84919,84957,85516,85554,85558,86294,87123,87359,87940,88481,88667,88968,89033,89317,89618,89622,89802,89970,90466,90836,91688,93025,94027,94281,94995,95366,95464,95698,96466,96510,97011,99057,99327,100474,100717,101076,101341,102399,102917,103567,103847,103909,104844,105025,105621,105728,106681,106690,107607,107808,107996,108241,108310,108780,108846,109194,109418,109424,109712,110569,110958,110994,111177,111237,111411,111578,112300,112391,112417,113040,113061,113376,113405,113429,113491,113669,114008,114260,114648,114805,115435,115468,115974,116602,116979,117385,117546,117823,117930,118167,118541,118936,118952,119516,119791,121270,121798,121994,122454,122679,122771,122912,123222,123356,124183,125099,125125,125220,1,15,17,35,42,85,100,116,152,203,207,209,226,250,254,255,261,269,280,287,335,339,346,365,366,371,377,399,440,442,446,447,452,460,473,480,486,497,503,543,569,681,729,760,762,763,765,768,778,799,803,820,833,860,861,862,868,886,893,972,991,993,1019,1041,1050,1064,1066,1069,1077,1101,1119,1176,1188,1222,1224,1245,1256,1284,1307,1320,1331,1368,1373,1378,1379,1395,1402,1409,1414,1448,1454,1459,1469,1472,1513,1515,1530,1532,1552,1586,1612,1648,1649,1657,1673,1676,1679,1728,1741,1761,1789,1791,1810,1818,1837,1838,1841,1845,1849,1871,1872,1890,1911,1922,1951,1964,1967,1974,1989,2023,2030,2041,2043,2058,2086,2088,2128,2138,2140,2151,2154,2192,2203,2212,2237,2247,2306,2315,2331,2386,2405,2418,2454,2483,2489,2535,2543,2553,2570,2588,2603,2619,2623,2628,2629,2662,2670,2686,2688,2698,2702,2705,2747,2765,2772,2821,2826,2840,2850,2863,2869,2897,2901,2915,2940,2978,2992,3002,3010,3012,3067,3079,3082,3085,3107,3114,3115,3130,3136,3141,3155,3167,3188,3205,3220,3273,3305,3344,3361,3365,3378,3409,3430,3441,3470,3484,3502,3506,3518,3519,3541,3548,3560,3587,3598,3612,3644,3672,3690,3701,3725,3768,3799,3801,3811,3813,3830,3839,3842,3855,3858,3868,3873,3879,3892,3927,3951,3971,3975,3977,4001,4033,4035,4037,4050,4102,4116,4118,4128,4138,4163,4170,4171,4176,4177,4181,4189,4213,4215,4221,4248,4260,4268,4278,4296,4314,4341,4355,4373,4389,4394,4403,4417,4434,4448,4469,4483,4490,4507,4512,4519,4528,4552,4593,4596,4606,4618,4627,4631,4640,4648,4672,4704,4731,4768,4786,4803,4819,4877,4900,4986,4989,5001,5006,5034,5104,5110,5113,5117,5147,5152,5159,5168,5196,5327,5365,5384,5390,5392,5407,5413,5415,5422,5437,5442,5466,5486,5520,5552,5563,5575,5622,5659,5682,5687,5692,5716,5723,5724,5740,5741,5751,5753,5769,5789,5800,5820,5915,5945,5972,5988,6000,6026,6027,6043,6071,6084,6096,6100,6127,6129,6234,6240,6250,6252,6255,6275,6309,6310,6349,6352,6364,6365,6374,6389,6390,6396,6419,6470,6497,6500,6504,6510,6556,6574,6575,6577,6583,6593,6613,6620,6641,6642,6660,6710,6712,6759,6795,6829,6833,6843,6848,6861,6862,6880,6914,6925,6949,6951,6954,6967,6973,6984,6986,6991,7018,7035,7050,7053,7087,7093,7103,7107,7125,7136,7160,7232,7233,7242,7309,7312,7328,7342,7363,7366,7375,7383,7400,7429,7442,7486,7506,7541,7551,7609,7632,7639,7653,7715,7823,7824,7834,7837,7867,7872,7937,7952,7959,7968,7971,7979,7997,8016,8029,8033,8037,8083,8108,8204,8213,8217,8221,8229,8234,8244,8278,8280,8282,8289,8309,8318,8331,8345,8372,8385,8393,8417,8434,8441,8444,8451,8489,8513,8619,8635,8670,8675,8762,8802,8803,8804,8817,8830,8848,8854,8876,8899,8912,8930,8941,8989,9017,9061,9062,9074,9075,9084,9091,9093,) ORDER BY `date` DESC LIMIT 0, 36;