WARNING! Sweep “Unused Terms” breaks WPML!!
-
Hello,
today I discovered, after a long debugging, that to sweep “Unused Terms” breaks my Database (WMPL tables)
In detail, when I tried to translate a WooCommerce product, I received this message
Errore sul database di WordPress: [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 ‘)’ at line 1]
SELECT count(object_id) FROM wp_term_relationships WHERE object_id = 195 AND term_taxonomy_id IN ()Errore sul database di WordPress: [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 ‘)’ at line 1]
SELECT count(object_id) FROM wp_term_relationships WHERE object_id = 195 AND term_taxonomy_id IN ()Errore sul database di WordPress: [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 ‘)’ at line 1]
SELECT count(object_id) FROM wp_term_relationships WHERE object_id = 195 AND term_taxonomy_id IN ()Of course, I restored my two days old backup and now it works great but…
Luckily I discovered this problem in time and I was able to restore “Only” two days old backup. But… I cannot image people that discover this PHP error after one or two months…How can I solve this problem?
Thank you
- The topic ‘WARNING! Sweep “Unused Terms” breaks WPML!!’ is closed to new replies.