• Resolved snapbackcap

    (@snapbackcap)


    The newest version has broken the password reset function

    CRITICAL – Uncaught TypeError: WPO\WC\PDF_Invoices_Pro\Functions::attach_static_file(): Argument #3 ($order) must be of type WC_Abstract_Order, WP_User given, called in /home/website/public_html/wp-includes/class-wp-hook.php on line 326 and defined in /home/website/public_html/wp-content/plugins/woocommerce-pdf-ips-pro/includes/wcpdf-pro-functions.php:155 CONTEXT: {“error”:{“type”:1,”file”:”/home/website/public_html/wp-content/plugins/woocommerce-pdf-ips-pro/includes/wcpdf-pro-functions.php”,”line”:155},”remote-logging”:true,”backtrace”:[“”,”#0 /home/website/public_html/wp-includes/class-wp-hook.php(326): WPO\WC\PDF_Invoices_Pro\Functions->attach_static_file(Array, ‘customer_reset_…’, Object(WP_User))”,”#1 /home/website/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)”,”#2 /home/website/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(648): apply_filters(‘woocommerce_ema…’, Array, ‘customer_reset_…’, Object(WP_User), Object(WC_Email_Customer_Reset_Password))”,”#3 /home/website/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-reset-password.php(118): WC_Email->get_attachments()”,”#4 /home/website/public_html/wp-includes/class-wp-hook.php(324): WC_Email_Customer_Reset_Password->trigger(‘australian’, ‘NesHgbjFPFC4wt2…’)”,”#5 /home/website/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”,”#6 /home/website/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”,”#7 /home/website/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(339): do_action(‘woocommerce_res…’, ‘australian’, ‘NesHgbjFPFC4wt2…’)”,”#8 /home/website/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(1059): WC_Shortcode_My_Account::retrieve_password()”,”#9 /home/website/public_html/wp-includes/class-wp-hook.php(324): WC_Form_Handler::process_lost_password(”)”,”#10 /home/website/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)”,”#11 /home/website/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”,”#12 /home/website/public_html/wp-settings.php(749): do_action(‘wp_loaded’)”,”#13 /home/website/public_html/wp-config.php(110): require_once(‘/home/websitei…’)”,”#14 /home/website/public_html/wp-load.php(50): require_once(‘/home/websitei…’)”,”#15 /home/website/public_html/wp-blog-header.php(13): require_once(‘/home/websitei…’)”,”#16 /home/website/public_html/index.php(17): require(‘/home/websitei…’)”,”#17 {main}”,”thrown”]}

    Disabling the plugin resolves the issue, haven’t tried rolling back but this is a serious issue

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hi @snapbackcap

    We’re sorry to hear that!

    This error trace appears to come from our Professional extension. Unfortunately, we can’t provide support for paid products here in the forums. Please contact us directly, and we’ll do our best to assist you.

    Plugin Contributor alexmigf

    (@alexmigf)

    We’ve just released a new version of the Professional extension (v2.17.1). Please go to the WordPress Updates page and click “Check again” to make the new update appear.

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

The topic ‘Newest version fatal errors’ is closed to new replies.