• Resolved sprocker

    (@sprocker)


    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.

    (@rainfallnixfig)

    Hi @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.

    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.

    Thanks.

    Thread Starter sprocker

    (@sprocker)

    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

    (@sprocker)

    Apprciated

    Mirko P.

    (@rainfallnixfig)

    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.