Deprecated Hook: Replace woocommerce_resend_order_emails_available with wpo_wcpd

[ad_1]

We are currently experiencing a warning related to the PDF Invoices & Packing Slips for WooCommerce plugin, which is impacting the site’s response time. The warning details are as follows:

Warning Message:
Hook woocommerce_resend_order_emails_available is deprecated since version 3.5.7! Use wpo_wcpdf_resend_order_emails_available instead.

File Involved:
class-wcpdf-admin.php on line 527

This issue arises when the plugin attempts to call the deprecated hook woocommerce_resend_order_emails_available.

Below is the Error Trace:

Error message:

Hook woocommerce_resend_order_emails_available is <strong>deprecated</strong> since version 3.5.7! Use wpo_wcpdf_resend_order_emails_available instead.

in trigger_error called at /nas/content/live/megafit/wp-includes/functions.php (6085)
in wp_trigger_error called at /nas/content/live/megafit/wp-includes/functions.php (5948)
in _deprecated_hook called at /nas/content/live/megafit/wp-includes/plugin.php (717)
in apply_filters_deprecated called at /nas/content/live/megafit/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-admin.php (527)
in WPO\WC\PDF_Invoices\Admin::send_order_email_meta_box called at /nas/content/live/megafit/wp-admin/includes/template.php (1456)
in do_meta_boxes called at /nas/content/live/megafit/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php (497)
in Automattic\WooCommerce\Internal\Admin\Orders\Edit::render_meta_boxes called at /nas/content/live/megafit/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php (405)
in Automattic\WooCommerce\Internal\Admin\Orders\Edit::display called at /nas/content/live/megafit/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php (293)
in Automattic\WooCommerce\Internal\Admin\Orders\PageController::output called at /nas/content/live/megafit/wp-includes/class-wp-hook.php (324)
in WP_Hook::apply_filters called at /nas/content/live/megafit/wp-includes/class-wp-hook.php (348)
in WP_Hook::do_action called at /nas/content/live/megafit/wp-includes/plugin.php (517)
in do_action called at /nas/content/live/megafit/wp-admin/admin.php (259)

ca you help?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer