• Hello,

    We are experiencing a fatal error with the “Decorator – WooCommerce Email Customizer” plugin on my WordPress site (https://dentalfarma.ro/). WordPress has detected the error and notified me via email.

    Here are the details of the error:

    • Error Type:?E_ERROR
    • File:?/home/dentalfa/public_html/wp-content/plugins/decorator-woocommerce-email-customizer/includes/classes/rp-decorator-customizer.class.php
    • Line:?1248
    • Error Message:?Uncaught ArgumentCountError: Too few arguments to function RP_Decorator_Customizer::wt_email_header_before(), 1 passed in /home/dentalfa/public_html/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected.

    Additional Information:

    • WordPress Version:?6.6.2
    • Active Theme:?YOOtheme (version 4.4.12)
    • Current Plugin Version:?Decorator – WooCommerce Email Customizer (version 1.3.0)
    • PHP Version:?8.2.25

    I have checked my site and the page where the error was reported, but I could not identify any obvious issues. I would appreciate any assistance in resolving this matter.

    Thank you!

    ———————————————

    Detalii eroare
    ==============
    A ap?rut o eroare de tipul E_ERROR pe linia 1248 a fi?ierului /home/dentalfa/public_html/wp-content/plugins/decorator-woocommerce-email-customizer/includes/classes/rp-decorator-customizer.class.php. Mesaj eroare: Uncaught ArgumentCountError: Too few arguments to function RP_Decorator_Customizer::wt_email_header_before(), 1 passed in /home/dentalfa/public_html/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /home/dentalfa/public_html/wp-content/plugins/decorator-woocommerce-email-customizer/includes/classes/rp-decorator-customizer.class.php:1248
    Stack trace:
    #0 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(324): RP_Decorator_Customizer->wt_email_header_before('Comand\xC4\x83 finali...')
    #1 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #2 /home/dentalfa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/dentalfa/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/templates/emails/finalizat.php(13): do_action('woocommerce_ema...', 'Comand\xC4\x83 finali...')
    #4 /home/dentalfa/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/dentalfa/...')
    #5 /home/dentalfa/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/emails/woocos-email.php(174): wc_get_template('emails/finaliza...', Array, 'woocommerce', '/home/dentalfa/...')
    #6 /home/dentalfa/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/emails/woocos-email.php(100): WOOCOS_Email->woocos_get_content_html(Array, Object(stdClass))
    #7 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(324): WOOCOS_Email->woocos_trigger(28795, Object(stdClass))
    #8 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #9 /home/dentalfa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #10 /home/dentalfa/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/email-manager.php(64): do_action('woocos_email_no...', 28795, Object(stdClass))
    #11 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(324): WOOCOS_Email_Manager->woocos_trigger_email_action(28795, Object(stdClass), 'finalizat', false)
    #12 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #13 /home/dentalfa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #14 /home/dentalfa/public_html/wp-content/plugins/custom-order-statuses-for-woocommerce/order-status-generator.php(97): do_action('woocommerce_ord...', 28795, Object(stdClass), 'finalizat', false)
    #15 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(326): woocos_add_custom_order_status_actions(28795, 'completed', 'finalizat')
    #16 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #17 /home/dentalfa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #18 /home/dentalfa/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(421): do_action('woocommerce_ord...', 28795, 'completed', 'finalizat', Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #19 /home/dentalfa/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition()
    #20 /home/dentalfa/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(768): WC_Order->save()
    #21 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(326): WC_Meta_Box_Order_Data::save(28795)
    #22 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #23 /home/dentalfa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #24 /home/dentalfa/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(263): do_action('woocommerce_pro...', 28795, Object(WP_Post))
    #25 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(326): WC_Admin_Meta_Boxes->save_meta_boxes(28795, Object(WP_Post))
    #26 /home/dentalfa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #27 /home/dentalfa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #28 /home/dentalfa/public_html/wp-includes/post.php(4891): do_action('save_post', 28795, Object(WP_Post), true)
    #29 /home/dentalfa/public_html/wp-includes/post.php(4993): wp_insert_post(Array, false, true)
    #30 /home/dentalfa/public_html/wp-admin/includes/post.php(453): wp_update_post(Array)
    #31 /home/dentalfa/public_html/wp-admin/post.php(227): edit_post()
    #32 {main}
    ??thrown

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @weblikero ,

    Greetings from WebToffee Support.

    The error you’re encountering is likely caused by a third-party plugin introducing custom email templates using the do_action() hook for 'woocommerce_email_header' without passing the required arguments, leading to the issue described.

    We want to assure you that this issue has been identified, and a fix will be included in the next plugin update.

    We appreciate your patience and understanding as we work to resolve this matter

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.