• 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%)

    View post on imgur.com

    #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-log

    So, 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
    ———————–

    • This topic was modified 5 years, 7 months ago by scarpinoc.
    • This topic was modified 5 years, 7 months ago by scarpinoc.
    • This topic was modified 5 years, 7 months ago by scarpinoc.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lester Chan

    (@gamerz)

    My guess is one of your plugin that is causing a conflict with the wp_sweep_excluded_termids filter of WP-Sweep. You probably have to search for it.

    Thread Starter scarpinoc

    (@scarpinoc)

    Hi,

    but, before to use your plug-in, everything was ok…

    Plugin Author Lester Chan

    (@gamerz)

    I have not use WooCommerce myself. If you can verify that WooCommerce is having an issue with this plugin, I can add it to the non-compatible page.

    Thread Starter scarpinoc

    (@scarpinoc)

    Hello Lester,

    unfortunately, I am not so expert to debug this issue. I’m sorry.
    If I will have more time, I will try to understand the source of the problem.

    See you =)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Debug.log: PHP error if I Sweep “Unused Terms” (screenshot inside)’ is closed to new replies.