Deprecated Hook: Replace woocommerce_resend_order_emails_available with wpo_wcpd
-
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:
Hookwoocommerce_resend_order_emails_available
is deprecated since version 3.5.7! Usewpo_wcpdf_resend_order_emails_available
instead.File Involved:
class-wcpdf-admin.php
on line 527This 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?
- You must be logged in to reply to this topic.