• Resolved HypazMedia

    (@hypazmedia)


    Hello guysm

    It’s been a rough few days trying to diagnose an issue with the site I’m working on. I have variable products turned on and the site is throwing up tons of errors. It’s affecting the host and shooting the host resources down. Consequently, it’s either the site, especially the homepage loads very slowly, or it goes offline.

    Below is the part of the error message I keep getting

    
    [07-Jul-2018 20:05:10 UTC] The visible_only argument is deprecated since version 3.0. WC_Product_Variable::get_visible_children
    [07-Jul-2018 20:05:10 UTC] The WC_Product::get_child function is deprecated since version 3.0. Replace with wc_get_product.
    [07-Jul-2018 20:05:10 UTC] price 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, WC_AJAX::do_wc_ajax, do_action('wc_ajax_get_variation'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::get_variation, WC_Product_Variable->get_available_variation, WC_Product_Variable->get_variation_sale_price, WC_Product_Variable->get_variation_prices, WC_Data_Store->__call, WC_Product_Variable_Data_Store_CPT->read_price_data, apply_filters('woocommerce_variation_prices'), WP_Hook->apply_filters, WooCommerce_All_in_One_Currency_Converter_Frontend->custom_variation_price, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
    

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter HypazMedia

    (@hypazmedia)

    Any suggestion on what these error codes would mean? I’d be most grateful

    Plugin Contributor Julia Amosova

    (@jamosova)

    Hi @hypazmedia,

    Would you please confirm that you are running the latest version of WooCommerce plugin? Should be 3.4.3. In addition to that, please navigate to **WooCommerce > Status > System Status Report** and make sure there are no alerts in RED. If you have any alerts there, we recommend fixing all of them first.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error Message with Woocommerce Variable Products’ is closed to new replies.