• Hey! First, let me thank you for this wonderful little plugin! So, lately I’ve been seeing these errors in my log. For what I read, I imagine this is happening since WC 3.0:

    [Thu Jun 22 23:20:55.187079 2017] [:error] [pid 14789] [client IP.ADDRESS:39960] variation_id was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action('wc_ajax_get_variation'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::get_variation, WC_Product_Variable->get_available_variation, wc_get_stock_html, WC_Product->get_availability, apply_filters('woocommerce_get_availability'), WP_Hook->apply_filters, call_user_func_array, Woo_Stock_Base->woo_rename_stock_status, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0., referer: https://www.mystore.com/product/my-product/

    [Thu Jun 22 23:20:55.187134 2017] [:error] [pid 14789] [client IP.ADDRESS:39960] The WC_Product::get_total_stock function is deprecated since version 3.0. Replace with get_stock_quantity on each child. Beware of performance issues in doing so.., referer: https://www.mystore.com/product/my-product/

    • This topic was modified 7 years, 5 months ago by dabodude.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Logged errors WC3.0’ is closed to new replies.