Bug with rule "IS NOT"
-
Hi,
I noticed that an error occured when you publish/update a post and one of the rules of the CF uses “IS NOT”.Here’s what happens :
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 ') OR v.base_field_id IN ())' at line 4] DELETE v, m FROM wp_cfs_values v LEFT JOIN wp_postmeta m ON m.meta_id = v.meta_id WHERE v.post_id = '108' AND (v.field_id IN () OR v.base_field_id IN ())After small investigation, it seems to come from api.php#654. I think $field_ids is empty, this is why ( ) are empty too in the SQL query.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bug with rule "IS NOT"’ is closed to new replies.