Spamming SQL query
-
Hello
I have a problem with the plugin. On the main page of a woocommerce store the plugin makes ~290 identical queries to wp_options:
SELECT option_name, option_value
FROM wp_options
WHERE autoload = ‘yes’Caller list for the query is:
wp_load_alloptions()
update_option()
WP_Object_Cache->_transient_set()
WP_Object_Cache->set()
wp_cache_set()
set_transient()
WCCS_Product_Price_Cache->get_price()
WCCS_Product_Price_Replace->replace()
WCCS_Product_Price_Replace->replace_sale_price()
WCCS_Product_Price_Replace->get_replaced_sale_price()
WCCS_Product_Price_Replace->replace_variation_prices()
apply_filters(‘woocommerce_variation_prices’)
WC_Product_Variable_Data_Store_CPT->read_price_data()
WC_Data_Store->__call()
WC_Product_Variable->get_variation_prices()
WC_Product_Variable->is_on_sale()The problem makes the home page load time jump to 30 seconds…
This also sometimes happen on category pages but updating the plugin and clearing the cache seems to fix the issue for those pages.
Please advise
- The topic ‘Spamming SQL query’ is closed to new replies.