• Hello,

    I just got this deprecation error after installing ultimate reviews:

    woocommerce_product_review_count is deprecated since version 3.0.0! Use woocommerce_product_get_review_count instead. in /var/www/html/web/wp/wp-includes/functions.php on line 4716
    Notice: WC_Product::get_post_data is deprecated since version 3.0! Use get_post instead. in /var/www/html/web/wp/wp-includes/functions.php on line 4440

    I checked the source and the deprecated function is hooked by ultimate reviews! I am using the newest version 2.1.24.

    Any Ideas how to mitigate this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wegiiii

    (@wegiiii)

    So, I tested further and there seem to bee multiple issues with the current Woocommerce Version. Could you please fix them? I need to test them before my trial period runs out and I can decide whether to buy premium.

    Thread Starter wegiiii

    (@wegiiii)

    This happens, when I replace the Woocommerce reviews.
    Furthermore, above the Reviews I also get another notice:
    Notice: Undefined index: Post_Email in /var/www/html/web/app/plugins/ultimate-reviews/Shortcodes/SubmitReview.php on line 342

    Those are suppressed in my production environment. But please update, since I can not buy any plugins that are in danger of being non-functioning in future versions.

    Thread Starter wegiiii

    (@wegiiii)

    Version 2.1.25 fixed one of the Notices. Well done!
    Those two are still left:
    Notice: woocommerce_product_review_count is deprecated since version 3.0.0! Use woocommerce_product_get_review_count instead. in /var/www/html/web/wp/wp-includes/functions.php on line 4716 caused by ultimate-reviews/Functions/EWD_URP_Replace_WooCommerce_Reviews.php
    and
    Notice: Undefined index: Post_Email in /var/www/html/web/app/plugins/ultimate-reviews/Shortcodes/SubmitReview.php on line 342 which appears above the Submit Review field.

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi wegiiii,

    Thanks for letting us know about these notices. We’ll look into the cause and make any necessary corrections in a future update. That being said, as they are just notices, they will indeed not show and have no effect on your site once you go live and disable debug mode.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecation Error’ is closed to new replies.