BUG: Debug Log Error When Optimising
-
When I click WP-Optimize > Optimizations > Optimizations > Run all selected optimizations (note: with all selected) I receive the following error recorded in my WordPress debug log:
[28-Dec-2021 22:07:30 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1518,1517,1516,1515,1513,1512,1511,1510,1509,1507,1506,1504,1502,1500,1492,1422,' at line 1 for query DELETE FROM
TUmdJe_postsWHERE
IDIN (,1518,1517,1516,1515,1513,1512,1511,1510,1509,1507,1506,1504,1502,1500,1492,1422,1414,1412,1223,1221,1220,1219,1218,1217,1216,1215,1214,1213,1211,1206,1190,1188,1187,1186,1185,1184,1183,1181,1179,1178,1177,1176,1175,1174,1173,1171,1170,1168,1166,1164,1163,1162,1161,1160,1158,1157,1156,1155,1154,1153,1152,1151,1150,1149,1148,1146,1145,1144,1113,1111,1109,1108,1106,1105,1104,1102,1100,1098,1097,1096,1094,1093,1091,1089,1087,1080,7,1466,1294,1255,1253,1252,1251,1250,1249,1248,1247,1245,1243,1241,1238,1236,1234,1233,1231,1229,1227,1225,11,,1267,1262,1260,1258,1257,15,1268,1265,17,,1325,1324,1323,1322,1320,1314,1313,1279,1274,1273,21,1462,1461,1460,1458,1457,1453,1450,1447,1446,1333,1331,1329,1328,1295,23,1377,1340,1296,25,1439,1437,1436,1409,1375,1373,1372,1371,1370,1368,1367,1365,1363,1361,1359,1300,27,1405,1403,1401,1400,1398,1396,1394,1392,1390,1388,1386,1385,1383,1381,1299,29,1442,1441,1408,1298,31,,,1468,1467,1465,1338,1337,1335,1334,1290,1289,1288,1287,1286,1285,1284,1283,1282,1281,1280,1278,1276,1275,1271,1270,1305,1315,1312,,,1575,1573,1571,1569,1567,1565,1563,1561,1559,1557,1555,1553,1550,1548,1546,1544,1542,1540,1538,1536,1530,1528,1526,1523,1521) made by do_action('wp_ajax_wp_optimize_ajax'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Optimize->wp_optimize_ajax_handler, WP_Optimize_Commands->do_optimization, WP_Optimization->do_optimization, WP_Optimizer->do_optimization, WP_Optimization_revisions->optimize, WP_Optimization_revisions->optimize_by_posts, WP_Optimization->query
Please help me to run these optimizations without errors being recorded.
WP-Optimize v 3.2.1
- The topic ‘BUG: Debug Log Error When Optimising’ is closed to new replies.