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-05-24" AND `id` IN (43389,11648,12187,14970,15070,17299,27742,28052,39248,42610,46186,48237,50357,51132,59369,59539,60225,60662,61509,63755,65718,67401,68914,74357,75740,75935,78477,80316,80938,82761,83737,85194,86423,90425,92794,93673,99109,99940,100680,101514,105807,109206,112015,119465,121248,122923,123442,125375,7966,13268,14039,18254,20838,38412,44298,45239,48015,61582,62326,67040,71637,72210,74303,80997,86070,89230,96096,96619,102224,105051,106920,107824,109236,14,22,24,37,43,47,50,57,62,69,77,78,84,86,102,106,112,122,149,153,157,174,183,194,220,224,230,237,241,251,254,260,270,275,282,288,293,302,304,310,314,315,320,323,327,340,342,356,358,359,370,402,424,434,435,444,448,449,455,458,461,464,477,479,495,496,518,522,529,536,548,558,560,573,574,594,608,618,620,629,639,643,649,650,662,664,667,674,690,692,701,716,724,725,752,758,780,781,816,817,845,848,849,852,855,857,884,887,891,904,914,917,920,927,928,936,947,950,955,964,965,973,981,988,1022,1023,1043,1051,1063,1065,1068,1083,1096,1118,1124,1137,1138,1141,1145,1149,1150,1183,1197,1204,1212,1225,1229,1250,1266,1267,1275,1277,1282,1289,1298,1311,1313,1316,1321,1338,1339,1342,1348,1356,1380,1390,1396,1418,1428,1434,1446,1450,1474,1481,1497,1511,1518,1520,1523,1534,1539,1542,1550,1558,1572,1587,1603,1605,1617,1624,1634,1637,1638,1646,1655,1656,1665,1666,1667,1673,1683,1688,1689,1690,1695,1702,1710,1713,1715,1722,1723,1736,1740,1749,1751,1756,1764,1765,1771,1777,1779,1792,1793,1801,1803,1808,1816,1824,1830,1831,1832,1834,1842,1857,1865,1875,1876,1884,1891,1892,1894,1898,1904,1906,1913,1914,1925,1927,1942,1944,1976,1978,1979,1986,1987,1995,1997,2003,2006,2014,2026,2042,2044,2046,2068,2075,2087,2095,2101,2106,2125,2126,2127,2130,2142,2147,2153,2176,2189,2193,2200,2214,2219,2221,2223,2227,2231,2235,2238,2262,2269,2284,2303,2304,2311,2318,2322,2341,2350,2363,2384,2387,2388,2394,2412,2413,2414,2428,2436,2438,2440,2449,2462,2464,2467,2474,2504,2507,2512,2519,2528,2536,2547,2548,2549,2556,2560,2565,2584,2592,2597,2605,2612,2622,2623,2632,2643,2651,2653,2674,2710,2714,2716,2724,2735,2741,2745,2751,2755,2756,2762,2775,2780,2782,2799,2811,2835,2843,2855,2872,2903,2930,2935,2949,2953,2962,2964,2966,2971,2979,2980,2983,2987,2991,3014,3016,3025,3028,3038,3044,3046,3049,3055,3056,3057,3060,3069,3073,3081,3093,3099,3110,3125,3132,3138,3156,3159,3161,3166,3169,3175,3193,3194,3197,3199,3224,3234,3246,3266,3268,3272,3288,3293,3294,3298,3302,3304,3307,3315,3322,3323,3328,3350,3354,3355,3362,3372,3373,3397,3399,3412,3433,3434,3477,3488,3495,3504,3511,3515,3516,3526,3531,3540,3551,3555,3556,3557,3565,3573,3576,3577,3584,3588,3592,3593,3603,3605,3611,3618,3645,3651,3656,3694,3715,3718,3722,3723,3754,3761,3772,3774,3775,3798,3800,3818,3821,3825,3828,3830,3837,3838,3844,3845,3850,3854,3860,3867,3880,3881,3888,3893,3895,3898,3904,3911,3918,3919,3926,3932,3934,3937,3938,3944,3950,3966,3979,3996,4009,4013,4028,4052,4058,4060,4063,4064,4067,4075,4082,4084,4098,4100,4101,4104,4105,4115,4119,4123,4125,4132,4135,4145,4147,4157,4160,4189,4202,4229,4237,4240,4258,4277,4286,4291,4295,4301,4305,4311,4326,4332,4345,4346,4359,4369,4384,4385,4390,4392,4401,4417,4429,4449,4453,4463,4465,4468,4479,4482,4489,4505,4511,4518,4525,4533,4534,4537,4540,4554,4557,4559,4560,4566,4567,4570,4582,4592,4595,4597,4601,4607,4614,4626,4643,4658,4662,4667,4677,4678,4683,4691,4703,4718,4725,4729,4730,4733,4739,4741,4748,4754,4779,4780,4787,4788,4798,4799,4806,4815,4817,4830,4831,4834,4835,4838,4842,4844,4847,4856,4868,4873,4893,4894,4906,4907,4914,4922,4946,4966,4967,4988,4995,4998,4999,5002,5005,5006,5017,5019,5023,5027,5032,5043,5044,5049,5077,5085,5088,5089,5094,5098,5105,5106,5113,5127,5137,5161,5169,5172,5186,5188,5208,5209,5210,5230,5263,5268,5273,5274,5286,5288,5299,5302,5305,5310,5311,5315,5320,5321,5323,5325,5326,5338,5356,5377,5388,5414,5420,5431,5441,5447,5450,5455,5459,5492,5496,5500,5508,5522,5545,5553,5579,5582,5583,5589,5593,5605,5621,5633,5637,5638,5646,5654,5665,5670,5672,5686,5725,5727,5731,5735,5742,5755,5765,5766,5767,5771,5783,5785,5788,5809,5813,5826,5830,5856,5858,5860,5865,5866,5877,5881,5901,5904,5925,5926,5936,5937,5941,5951,5956,5984,5985,5992,5993,6000,6029,6031,6033,6035,6038,6040,6049,6051,6055,6058,6059,6086,6106,6108,6111,6113,6125,6132,6138,6141,6143,6154,6156,6168,6172,6199,6201,6208,6212,6232,6238,6239,6253,6265,6268,6284,6297,6301,6303,6304,6308,6314,6322,6332,6343,6378,6380,6388,6391,6392,6395,6430,6431,6448,6468,6473,6476,6480,6484,6487,6488,6495,6496,6525,6530,6539,6553,6554,6557,6559,6560,6569,6581,6587,6588,6596,6608,6621,6629,6632,6634,6636,6644,6648,6653,6655,6656,6667,6679,6683,6685,6691,6711,6716,6717,6725,6743,6757,6765,6781,6790,6791,6793,6811,6812,6834,6839,6850,6858,6864,6870,6878,6879,6888,6905,6924,6934,6938,6962,6963,6971,6977,6983,6984,6987,6989,6994,7001,7010,7014,7019,7023,7030,7037,7041,7044,7046,7054,7055,7063,7066,7074,7076,7081,7082,7097,7101,7105,7112,7129,7134,7145,7150,7151,7166,7172,7191,7195,7196,7198,7202,7204,7236,7256,109181,83340,104061,20079,85726,49027,91094,114320,) ORDER BY `date` DESC LIMIT 0, 36;