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 '%1$s
LEFT JOIN %2$s ON %1$s.ID = %2$s.post_id
WHERE meta_key IN ("_pri' at line 2]
SELECT min(meta_value + 0)
FROM %1$s
LEFT JOIN %2$s ON %1$s.ID = %2$s.post_id
WHERE meta_key IN ("_price","_min_variation_price")
AND meta_value != ""
AND (
%1$s.ID IN (1088,1087,1086,1049,1047,1043,1024,1019,1018,1016,1012,1009,1001,994,992,991,990,989,985)
OR (
%1$s.post_parent IN (1088,1087,1086,1049,1047,1043,1024,1019,1018,1016,1012,1009,1001,994,992,991,990,989,985)
AND %1$s.post_parent != 0
)
)
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 '%1$s
LEFT JOIN %2$s ON %1$s.ID = %2$s.post_id
WHERE meta_key IN ("_pri' at line 2]
SELECT max(meta_value + 0)
FROM %1$s
LEFT JOIN %2$s ON %1$s.ID = %2$s.post_id
WHERE meta_key IN ("_price")
AND (
%1$s.ID IN (1088,1087,1086,1049,1047,1043,1024,1019,1018,1016,1012,1009,1001,994,992,991,990,989,985)
OR (
%1$s.post_parent IN (1088,1087,1086,1049,1047,1043,1024,1019,1018,1016,1012,1009,1001,994,992,991,990,989,985)
AND %1$s.post_parent != 0
)
)