Title: Pay button error
Last modified: August 19, 2019

---

# Pay button error

 *  Resolved [bunty5000](https://wordpress.org/support/users/bunty5000/)
 * (@bunty5000)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/pay-button-error/)
 * I click on the pay button in my order section, showing the error, how to fix 
   it.
 * Error-
 * a. (Product name) Notice: Use WC_Order_Item_Product instead. in /home/buntyj37/
   public_html/wp-includes/functions.php on line 4435
 * b. WC_Order::display_item_meta is deprecated since version 3.0! Use wc_display_item_meta
   instead. in /home/buntyj37/public_html/wp-includes/functions.php on line 4435
 * *Error show on user order section, (when user click on pay button)
    -  This topic was modified 6 years, 8 months ago by [bunty5000](https://wordpress.org/support/users/bunty5000/).
    -  This topic was modified 6 years, 8 months ago by [bunty5000](https://wordpress.org/support/users/bunty5000/).
    -  This topic was modified 6 years, 8 months ago by [bunty5000](https://wordpress.org/support/users/bunty5000/).

Viewing 1 replies (of 1 total)

 *  [Thomas Shellberg](https://wordpress.org/support/users/shellbeezy/)
 * (@shellbeezy)
 * Automattic Happiness Engineer
 * [6 years, 8 months ago](https://wordpress.org/support/topic/pay-button-error/#post-11849715)
 * Hi [@bunty5000](https://wordpress.org/support/users/bunty5000/),
 * First, those look like warnings and not actual PHP errors; you should hide them
   from your live site.
 * [https://aristath.github.io/blog/wp-hide-php-errors](https://aristath.github.io/blog/wp-hide-php-errors)
 * Those messages are likely coming from a plugin or a theme which is using outdated
   functions. I would make sure everything is updated. You can search through your
   site’s error logs to find out which plugins are calling these deprecated functions.

Viewing 1 replies (of 1 total)

The topic ‘Pay button error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Thomas Shellberg](https://wordpress.org/support/users/shellbeezy/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/pay-button-error/#post-11849715)
 * Status: resolved