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-11-12" AND `id` IN (65969,8403,11738,18658,62706,73908,98264,108672,18,54,56,92,118,130,148,173,204,205,206,210,228,234,243,296,337,411,475,476,481,584,599,605,696,710,789,866,871,1032,1046,1093,1113,1127,1156,1258,1296,1374,1385,1479,1526,1563,1608,1650,1687,1708,1745,1800,1805,1812,1813,1843,1947,1958,1993,2018,2028,2080,2103,2113,2178,2282,2286,2472,2546,2550,2589,2614,2626,2630,2642,2689,2725,2787,2804,2896,2910,2934,3021,3108,3109,3165,3187,3202,3213,3239,3244,3251,3320,3341,3359,3371,3384,3393,3417,3465,3487,3500,3600,3647,3662,3671,3792,3794,3876,3903,3953,3976,4023,4130,4208,4238,4315,4335,4391,4454,4480,4481,4492,4529,4538,4555,4636,4669,4714,4732,4762,4766,4805,4811,4916,4996,5010,5015,5025,5038,5099,5156,5165,5248,5259,5361,5375,5588,5614,5619,5677,5732,5791,5812,5818,5905,5943,6073,6104,6105,6149,6197,6235,6242,6290,6333,6360,6375,6425,6532,6555,6558,6657,6719,6782,6803,6883,6896,6907,6936,6940,6960,6975,6981,6992,7015,7088,7119,7146,7159,7164,7268,7273,7274,7286,7325,7346,7371,7399,7414,7458,7494,7505,7523,7527,7556,7584,7601,7616,7682,7741,7752,7791,7809,7816,7900,7940,7978,8002,8005,8061,8075,8079,8090,8091,8149,8187,8188,8194,8292,8307,8499,8532,8540,8601,8622,8673,8678,8708,8713,8714,8730,8757,8813,8822,8911,8975,9034,9051,9080,9087,9112,9163,9170,9187,9189,9266,9528,9565,9579,9588,9599,9616,9618,9622,9629,9630,9633,9639,9668,9672,9683,9685,9708,9752,9792,9806,9844,9879,9925,9965,10051,10065,10081,10094,10135,10145,10185,10211,10270,10406,10426,10448,10470,10532,10533,10550,10562,10635,10675,10725,10763,10775,10838,10847,10861,10875,10908,10942,11196,11211,11283,11359,11378,11440,11460,11472,11484,11487,11552,11601,11613,11642,11649,11668,11704,11713,11728,11732,11777,11784,11890,11917,11963,12030,12047,12066,12081,12139,12176,12196,12198,12241,12296,12380,12423,12458,12534,12539,12541,12625,12638,12667,12704,12728,12736,12743,12752,12768,12780,12808,12810,12820,12848,12857,12954,12993,13053,13083,13144,13171,13243,13355,13420,13465,13623,13694,13733,13756,13788,13808,13815,13830,13870,13916,13921,13934,13937,13942,13951,13954,13956,14091,14112,14129,14243,14253,14255,14258,14290,14327,14333,14362,14407,14418,14443,14460,14479,14498,14503,14518,14535,14549,14601,14739,14758,14783,14788,14818,14883,14919,14968,14990,15023,15043,15063,15079,15105,15154,15200,15274,15313,15349,15382,15394,15418,15429,15454,15461,15558,15577,15615,15621,15663,15684,15731,15774,15777,15838,15964,15971,16047,16081,16144,16169,16283,16391,16443,16483,16504,16536,16574,16580,16595,16601,16615,16621,16629,16650,16664,16770,16771,16897,16933,16965,16970,16974,16979,17003,17006,17010,17025,17048,17070,17100,17117,17172,17198,17199,17211,17287,17297,17301,17312,17410,17428,17431,17444,17456,17491,17503,17595,17597,17758,17800,17819,17828,17848,17860,17908,17943,17951,17953,17963,17967,17973,17998,18005,18012,18035,18079,18082,18085,18119,18125,18195,18255,18269,18288,18291,18323,18340,18350,18422,18430,18434,18437,18460,18496,18521,18525,18528,18535,18536,18547,18566,18672,18675,18707,18750,18758,18801,18823,18836,18842,18880,18892,18955,18970,19041,19057,19062,19093,19180,19181,19214,19268,19271,19282,19326,19377,19379,19419,19431,19459,19579,19599,19612,19617,19619,19624,19658,19746,19759,19781,19830,19899,19962,19963,20064,20093,20116,20117,20156,20246,20247,20344,20350,20359,20368,20373,20390,20394,20402,20408,20420,20426,20476,20503,20516,20519,20656,20691,20713,20741,20767,20786,20827,20882,20890,20912,20917,20961,20987,21033,21140,21142,21145,21147,21168,21227,21238,21301,21316,21378,21404,21433,21516,21550,21567,21604,21623,21633,21655,21681,21714,21764,21765,21800,21827,21832,21927,21929,21943,21968,22043,22077,22210,22228,22230,22267,22276,22305,22343,22392,22396,22399,22476,22496,22524,22556,22589,22596,22622,22643,22684,22687,22752,22758,22763,22871,22910,22922,22995,23133,23149,23269,23279,23367,23392,23428,23455,23511,23624,23669,23716,23735,23774,23831,23838,24013,24027,24031,24095,24102,24108,24127,24166,24205,24215,24230,24312,24313,24403,24461,24478,24519,24553,24569,24584,24609,24665,24690,24736,24761,24808,24827,24893,25014,25026,25045,25050,25132,25152,25163,25205,25307,25336,25383,25401,25418,25438,25493,25697,25805,25862,25865,25889,25928,25933,25941,26016,26042,26053,26067,26090,26101,26167,26192,26220,26297,26326,26349,26431,26437,26448,26512,26570,26596,26605,26618,26623,26635,26703,26704,26725,26755,26813,26910,26961,27003,27016,27058,27070,27106,27130,27146,27174,27227,27292,27296,27320,27384,27469,27476,27495,27519,27528,27534,27558,27560,27564,27609,27641,27662,27695,27706,27745,27769,27791,27796,27853,27875,27925,27943,27954,28021,28098,28100,28127,28144,28286,28313,28361,28463,28517,28528,28530,28534,28542,28579,28644,28674,28701,28725,28769,28772,28797,28809,29011,29054,29055,29113,29159,29185,29233,29235,29247,29266,29292,29379,29387,29441,29460,29470,29473,29479,29516,29520,29532,29544,29549,29569,29600,29668,29688,29710,29793,29812,29822,29836,29841,29847,29889,29921,29953,30011,30029,30094,30100,30109,) ORDER BY `date` DESC LIMIT 0, 36;