Fatal Error

  • Author
    Posts
  • #221061

    We are facing a fatal error on the site due to the plug-in. The error code is as follows:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.7
    Active theme: 31 Web Works (version 1.0.0)
    Current plugin: WooCommerce Email Template Customizer Premium (version 1.2.7)
    PHP version 8.1.30

    Error Details
    =============
    An error of type E_ERROR was caused in line 740 of the file /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/woocommerce-email-template-customizer/includes/email-trigger.php. Error message: Uncaught ArgumentCountError: Too few arguments to function VIWEC\INCLUDES\Email_Trigger::send_email_via_wc_mailer(), 1 passed in /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/woocommerce-email-template-customizer/includes/email-trigger.php:740
    Stack trace:
    #0 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(324): VIWEC\INCLUDES\Email_Trigger->send_email_via_wc_mailer()
    #1 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #2 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/templates/emails/on-hold-for-next.php(13): do_action()
    #4 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/1361223.c…’)
    #5 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/emails/woocos-email.php(186): wc_get_template()
    #6 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/emails/woocos-email.php(100): WOOCOS_Email->woocos_get_content_html()
    #7 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(324): WOOCOS_Email->woocos_trigger()
    #8 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #9 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #10 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/email-manager.php(64): do_action()
    #11 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(324): WOOCOS_Email_Manager->woocos_trigger_email_action()
    #12 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #13 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #14 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/order-status-generator.php(97): do_action()
    #15 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(326): woocos_add_custom_order_status_actions()
    #16 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #17 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #18 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(421): do_action()
    #19 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition()
    #20 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(768): WC_Order->save()
    #21 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(326): WC_Meta_Box_Order_Data::save()
    #22 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #23 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #24 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(263): do_action()
    #25 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(326): WC_Admin_Meta_Boxes->save_meta_boxes()
    #26 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #27 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #28 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/post.php(5060): do_action()
    #29 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-includes/post.php(5162): wp_insert_post()
    #30 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-admin/includes/post.php(453): wp_update_post()
    #31 /home/1361223.cloudwaysapps.com/wvvqqudxxy/public_html/wp-admin/post.php(227): edit_post()
    #32 {main}
    thrown

You must be logged in to see replies to this topic. Click here to login or register