Debug.log: PHP error if I Sweep “Unused Terms” (screenshot inside)
-
Hello,
my site is OceanWP theme + WooCommerce.
I discovered, after a very long debug process, the reason of this debug.log error:“[11-Aug-2019 15:19:12 UTC] WordPress errore sul database 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 per la query SELECT count(object_id) FROM wp_term_relationships WHERE object_id = 8405 AND term_taxonomy_id IN () fatta da edit_post, wp_update_post, wp_insert_post, do_action(‘save_post’), WP_Hook->do_action, WP_Hook->apply_filters, WCML_Synchronize_Product_Data->synchronize_products, WCML_Synchronize_Variations_Data->sync_product_variations_custom_data, WCML_Products->is_variable_product ”
I write here the steps:
#1 – I saved the database (obviously!)
#2 – I click Sweep “Unused Terms” (Count: 14 – %Of 9.46%)#3 – Go to “Product” – Edit product page. ( I have WooCommerce shop)
#4 – Don’t do nothing, just click “Update page”.
#5 – BOOM! I have this long error in the Debug-logSo, I come back to the saved database and I click again “Update page” and I have no error.
So, what’s the mistake?
Thank you
———————–
- The topic ‘Debug.log: PHP error if I Sweep “Unused Terms” (screenshot inside)’ is closed to new replies.