• I’m constantly getting the following in my PHP error log; it looks like it’s coming from this plugin. Could you take a look and update as required, please?

    [02-Dec-2021 06:09:18 UTC] 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 '' at line 6 for query SELECT postmeta.post_id AS product_id
    FROM wp_postmeta AS postmeta
    LEFT JOIN wp_posts AS products ON ( products.ID = postmeta.post_id )
    WHERE postmeta.meta_key LIKE 'attribute_%'
    AND postmeta.meta_value = 'XL'
    AND products.post_parent =  made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_xoo_wsc_add_to_cart'), WP_Hook->do_action, WP_Hook->apply_filters, xoo_wsc_Cart_Data->xoo_wsc_add_to_cart_ajax, WC_AJAX::get_refreshed_fragments, woocommerce_mini_cart, wc_get_template, include('/plugins/woocommerce/templates/cart/mini-cart.php'), wc_get_formatted_cart_item_data, apply_filters('woocommerce_variation_option_name'), WP_Hook->apply_filters, display_price_in_variation_option_name
  • The topic ‘Error in your SQL syntax’ is closed to new replies.