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-16" AND `id` IN (52206,41574,542,699,1081,2572,2731,2742,5082,5386,7491,10569,11233,13245,14164,15688,16259,16429,18787,18938,19669,21287,21600,22645,23655,23864,25528,25831,25883,26036,27093,28242,28631,29986,30437,30882,31896,34560,34598,35378,35789,36264,36826,36843,38888,39000,39065,39947,40012,42168,42398,42655,42667,44553,44604,46563,47032,48346,51246,52722,53160,53801,54422,54438,55413,56283,56803,56817,58822,60596,64315,65712,65727,65815,68726,69406,69945,70785,71755,71874,72695,76265,76902,77207,79932,80919,81313,81369,83454,84918,85540,85592,85633,86434,87741,88535,89289,90522,90631,91182,91318,91319,92483,93919,95346,96341,97029,97473,97550,98805,99207,99311,99448,102332,103518,104712,105438,106932,107261,109217,110301,110702,111086,112696,113665,113863,115083,115173,116023,116565,118707,118733,121464,121724,121854,41281,56517,57334,66388,81877,23,459,616,750,1034,2049,2159,3133,3203,3809,3891,4488,4696,4745,4915,5872,5994,6567,6672,6746,7452,7581,7819,8591,8706,9198,9377,9435,9796,9958,10095,10748,11542,11614,12093,12203,12345,12494,13369,13488,13766,14070,14213,14402,14806,15240,15519,15541,15638,15649,16049,16430,17546,17628,17891,18214,18241,18592,18865,18977,19106,19185,19383,19710,20809,21143,21996,22268,22462,22804,22837,23023,23474,23770,24075,24078,25128,25678,25770,25919,26566,27180,27329,28109,28718,28881,30209,30386,30487,30800,30875,31721,31893,32591,32664,32772,32811,32840,32944,33143,33286,33826,35006,37706,37788,38202,38569,39123,39873,40206,40295,40540,40694,41095,42770,42944,43133,43554,44976,45159,45248,45314,45452,45510,45517,46153,46503,46560,46849,46864,47133,47673,47833,48149,48995,49484,49546,49549,49746,49756,50208,50892,51011,51219,52800,53342,53600,54328,54417,54532,55077,55330,55466,55927,56204,56481,56946,57305,57585,58349,59154,59609,60554,60890,61124,61247,61654,61686,61845,62525,62550,63134,63214,63295,63325,63926,64281,64700,64751,65091,65093,65606,65921,66012,66273,66716,67526,67989,68183,68235,68959,69133,70050,70422,72170,72700,73980,74290,74804,74899,75035,75117,75137,76305,76423,76579,76693,77028,77612,77746,78081,78189,78514,78637,78909,79061,79338,79664,79796,80201,80470,80883,81137,81655,81857,82158,82318,82557,82751,82940,83138,83238,83350,84028,84991,85242,85335,85536,85550,85631,85872,86735,86858,87871,88039,88528,89067,89610,90235,91126,92316,92336,92457,92905,92928,92980,93863,94873,94953,95185,95378,95444,95472,95718,95793,96368,96882,97519,97832,97939,97982,98319,98356,98481,98538,98917,99599,99809,100593,101213,101233,101336,101844,101917,102072,102514,102647,102790,102801,102969,103753,103911,104240,104319,104880,105189,105955,106142,107091,107443,107646,107847,107863,108307,108644,108936,109480,109502,109848,110120,110802,111246,111373,111469,111523,111936,112089,112576,113669,114272,114596,114787,115336,115676,116806,116822,116841,117237,117314,117435,118099,118554,119118,119618,119998,120010,120475,120583,120807,120855,121123,121708,121868,121900,122133,122823,123271,123279,123613,124328,124337,124899,125367,27,93,107,116,138,140,150,156,162,164,201,223,239,248,287,304,338,339,361,368,372,423,447,453,466,488,497,503,583,599,601,615,625,671,682,695,728,744,772,778,789,796,810,823,839,847,877,915,934,945,983,987,1004,1018,1026,1035,1039,1054,1070,1082,1092,1098,1177,1193,1230,1244,1251,1265,1280,1369,1389,1393,1395,1398,1402,1437,1438,1440,1453,1524,1533,1540,1541,1595,1602,1661,1672,1680,1703,1708,1776,1798,1820,1831,1845,1866,1882,1885,1896,1947,1993,2010,2012,2030,2038,2080,2084,2118,2124,2135,2145,2156,2180,2205,2229,2237,2252,2286,2296,2329,2357,2361,2372,2396,2443,2461,2483,2503,2525,2526,2541,2545,2552,2570,2575,2577,2583,2588,2636,2670,2672,2680,2685,2687,2693,2720,2722,2726,2734,2746,2760,2772,2777,2783,2792,2833,2836,2866,2913,2924,2981,2992,3005,3007,3010,3022,3067,3075,3088,3091,3102,3115,3130,3137,3143,3152,3169,3196,3210,3251,3255,3274,3295,3305,3314,3323,3340,3358,3361,3365,3407,3409,3487,3499,3502,3581,3585,3589,3612,3676,3680,3688,3692,3700,3727,3745,3769,3777,3783,3804,3807,3810,3814,3819,3838,3839,3842,3853,3868,3879,3951,3972,3984,3997,3998,4001,4070,4086,4087,4090,4093,4095,4130,4171,4175,4176,4216,4247,4257,4299,4315,4321,4331,4344,4370,4403,4407,4416,4430,4446,4448,4481,4490,4503,4507,4512,4541,4549,4576,4577,4578,4608,4626,4645,4659,4661,4680,4688,4698,4711,4723,4751,4754,4776,4789,4840,4871,4900,4919,4930,4936,4941,4943,4948,4955,4997,5001,5003,5009,5050,5065,5104,5129,5140,5142,5147,5149,5151,5159,5180,5291,5330,5352,5387,5392,5415,5460,5467,5472,5515,5520,5523,5578,5579,5601,5606,5609,5623,5624,5695,5705,5713,5828,5831,5855,5886,5894,5911,5917,5932,5957,5984,5988,6052,6070,6078,6081,6083,6096,6097,6104,6131,6155,6185,6213,6218,6230,6251,6288,6354,6401,6417,6489,6497,6529,6556,6563,6577,6604,6705,6747,6804,6809,6843,6844,6848,6913,6946,6973,6992,7007,7008,7015,7018,7035,7050,7061,7062,7063,7087,7102,7119,7155,7231,7235,7274,7300,7326,7327,7332,7342,7351,7400,7434,7449,7477,7484,7486,7517,7532,7615,7616,7636,7637,7672,7680,7687,7720,7742,) ORDER BY `date` DESC LIMIT 0, 36;