Title: Deprecation Error
Last modified: November 14, 2019

---

# Deprecation Error

 *  [wegiiii](https://wordpress.org/support/users/wegiiii/)
 * (@wegiiii)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/deprecation-error-3/)
 * 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](https://wordpress.org/support/users/wegiiii/)
 * (@wegiiii)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/deprecation-error-3/#post-12134059)
 * 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](https://wordpress.org/support/users/wegiiii/)
 * (@wegiiii)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/deprecation-error-3/#post-12135780)
 * 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](https://wordpress.org/support/users/wegiiii/)
 * (@wegiiii)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/deprecation-error-3/#post-12140973)
 * 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](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/deprecation-error-3/#post-12147434)
 * 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.

 * ![](https://ps.w.org/ultimate-reviews/assets/icon-128x128.png?rev=1814372)
 * [Ultimate Reviews](https://wordpress.org/plugins/ultimate-reviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-reviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-reviews/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/deprecation-error-3/#post-12147434)
 * Status: not resolved