Title: PHP warning error
Last modified: July 24, 2021

---

# PHP warning error

 *  Resolved [sprocker](https://wordpress.org/support/users/sprocker/)
 * (@sprocker)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-warning-error-10/)
 * My server is being flooded with the following error, but I can not figure out
   what plugin is the issue or how to fix it.
 * [24-Jul-2021 17:22:48 UTC] Automattic\WooCommerce\Admin\Notes\WC_Admin_Note::
   add_action is deprecated since version 1.7.0! Use Automattic\WooCommerce\Admin\
   Notes\Note::add_action instead.
 * Can you give me any guidance please? thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-warning-error-10/#post-14699077)
 * Hi [@sprocker](https://wordpress.org/support/users/sprocker/),
 * The message means that probably another plugin is attempting to use an old WooCommerce
   function that is now out of date. That other plugin needs to be updated by the
   author.
 * Can you please make sure you have all plugins updated? You could also perform
   a conflict test to check which plugin is causing that warning.
 * For more detailed instructions about conflict testing, check out this – [How to test for plugin and theme conflicts](https://docs.woocommerce.com/document/how-to-test-for-conflicts/).
 * Before updating you should always ensure that you have a backup of your site 
   in case anything goes wrong. More info at [Backing up WordPress content](https://docs.woocommerce.com/document/backup-wordpress-content/).
 * Thanks.
 *  Thread Starter [sprocker](https://wordpress.org/support/users/sprocker/)
 * (@sprocker)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-warning-error-10/#post-14699208)
 * Thanks for your response…
 * I can confirm all plugins are up to date, but “Product quantity inputs” was an
   out-of-date version…I updated that to the correct one and I think it has sorted
   it!
 * cheers!
 *  Thread Starter [sprocker](https://wordpress.org/support/users/sprocker/)
 * (@sprocker)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-warning-error-10/#post-14699209)
 * Apprciated
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-warning-error-10/#post-14699251)
 * Awesome! Thanks for sending an update.
 * The `quantity-input.php` template may have been updated with WooCommerce’s latest
   release, therefore please always ensure that you have the updated core WooCommerce
   files.
 * Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP warning 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/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 4 replies
 * 2 participants
 * Last reply from: [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/php-warning-error-10/#post-14699251)
 * Status: resolved