• There’s an error showing in Query Monitor:
    Query:
    DESCRIBE IF;

    Caller:
    BeRocket_products_label_better_position::init()
    wp-content/plugins/woocommerce-advanced-products-labels/includes/better_position.php:531
    do_action(‘init’)
    wp-includes/plugin.php:476

    Component:
    Plugin: woocommerce-advanced-products-labels

    Error Message:
    You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘IF’ at line 1

    Error Code:
    1064

    Image Link >>> https://ibb.co/rvyKPkD

Viewing 1 replies (of 1 total)
  • Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    I cannot find why you have this error.

    To fix this please open file <our plugin>/includes/better_position.php line 520. There is a line $sql = "CREATE TABLE IF NOT EXISTS {$table_name} (
    Please change it to $sql = "CREATE TABLE {$table_name} (.
    Save the filter and text again.

    Regards,
    Dmytro

Viewing 1 replies (of 1 total)
  • The topic ‘Database Error with the Latest Plugin Update’ is closed to new replies.