Support » Plugin: WooCommerce » WooCommerce Error

  • Resolved mohdaljaraba

    (@mohdaljaraba)


    Im getting these errors

    #1 The WC_Product::get_rating_html function is deprecated since version 3.0. Replace with wc_get_rating_html.

    #2 PHP Warning: A non-numeric value encountered in /home/iiiii/public_html/wp-content/themes/themename/inc/frontend/woocommerce.php on line 538

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shane Eckert

    (@shaneeckert)

    Automattic Happiness Engineer

    Hi,

    Are you seeing effects from this on your site? Where are you seeing these errors?

    These are warnings, not critical or fatal errors.

    Deprecated functions could be left behind for compatibility reasons.

    The other warning is coming from your theme, it may need an update.

    Cheers!

    Hi Shane Eckert
    Visible error on my website theres no I found these on Wordfence under Log Files PHP error logs generated by your site, if enabled by your host.

    Plugin Support Shane Eckert

    (@shaneeckert)

    Automattic Happiness Engineer

    Hi,

    It sounds like you found these messages in a Wordfence log, but not on the front end.

    I think you are safe to ignore both, but if I were you I would make sure the theme is up to date and if not, let the theme Developer know you are getting that message. They may or may not address it as it’s just a warning, but it does not hurt to make them aware if updating the theme does not get rid of it.

    Cheers!

    Thank you 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.