Home Forums Themes Support Fitness WordPress Theme Safe to Upgrade to WP4.9.8 and WooCommerce 3.5.1

Viewing 1 reply thread
  • Author
    Posts
    • #18798

      Hey Team
      Wanting to know if I can safely upgrade to the above (WP4.9.8 and WooCommerce 3.5.1). Already getting some errors about deprecated functions from your last theme update > that at the time was said will be fixed.
      Dont want to find that more functions are deprecated with the latest release

      Logs as below
      [21-Nov-2018 08:04:40 UTC] The WC_Cart::get_remove_url function is deprecated since version 3.3. Replace with wc_get_cart_remove_url.
      [21-Nov-2018 08:04:40 UTC] The WC_Product::get_rating_html function is deprecated since version 3.0. Replace with wc_get_rating_html.
      [21-Nov-2018 08:04:40 UTC] The WC_Product::get_rating_html function is deprecated since version 3.0. Replace with wc_get_rating_html.
      [21-Nov-2018 08:04:40 UTC] 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_refreshed_fragments’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::get_refreshed_fragments, woocommerce_mini_cart, wc_get_template, include(‘/themes/topmarx/woocommerce/cart/mini-cart.php’), wc_get_template, include(‘/themes/topmarx/woocommerce/loop/main-rating.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
      [21-Nov-2018 08:04:40 UTC] The WC_Cart::get_item_data function is deprecated since version 3.3. Replace with wc_get_formatted_cart_item_data.
      [21-Nov-2018 08:04:40 UTC] The WC_Cart::get_remove_url function is deprecated since version 3.3. Replace with wc_get_cart_remove_url.
      [21-Nov-2018 08:04:40 UTC] The WC_Product::get_rating_html function is deprecated since version 3.0. Replace with wc_get_rating_html.
      [21-Nov-2018 08:04:40 UTC] The WC_Product::get_rating_html function is deprecated since version 3.0. Replace with wc_get_rating_html.
      [21-Nov-2018 08:04:40 UTC] 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_refreshed_fragments’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::get_refreshed_fragments, woocommerce_mini_cart, wc_get_template, include(‘/themes/topmarx/woocommerce/cart/mini-cart.php’), wc_get_template, include(‘/themes/topmarx/woocommerce/loop/main-rating.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
      [21-Nov-2018 08:04:40 UTC] The WC_Cart::get_item_data function is deprecated since version 3.3. Replace with wc_get_formatted_cart_item_data.
      [21-Nov-2018 08:04:40 UTC] The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.
      [21-Nov-2018 08:04:40 UTC] The WC_Cart::get_checkout_url function is deprecated since version 2.5. Replace with wc_get_checkout_url.

      Also tried your method to update WP Bakery Visual Composer (by deleting and autoupdating plugins) but didn’t work – no prompt that this plugin is required/recommended.

      BTW – Admin account below is tried and tested (just logged in)

    • #18799

      Hi again,

      You can update WordPress and WooCommerce if it’s necessary.
      It won’t influence to your site.
      Thanks!

Viewing 1 reply thread

You must be logged in to reply to this topic.