SQL Errors coming up
-
Hi Dima,
We’re getting the following error showing up a lot in our error_log…
[09-Jan-2015 09:00:56 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 '*) as nb FROM wp_stockist s, wp_stockist_relation r, wp_stockist_cat' at line 1 for query SELECT count(s.*) as nb FROM wp_stockist s, wp_stockist_relation r, wp_stockist_category c WHERE s.id=r.stockist AND r.category=c.id AND c.id='22' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/legenda/woocommerce/single-product.php'), woocommerce_get_template_part, wc_get_template_part, load_template, require('/themes/fydwd/woocommerce/content-single-product.php'), woocommerce_output_product_data_tabs, wc_get_template, include('/themes/legenda/woocommerce/single-product/tabs/tabs.php'), call_user_func, Stockist->woocommerce_product_stockists_tab, Stockist_shortcode->display_stockists, Stockist_db->return_nb_stockists
Any idea what is causing it, and what we can do to solve it?
Thanks,
James
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘SQL Errors coming up’ is closed to new replies.