• When someone has set an alert for a product that is out of stock. The email that gets generated just crashes with the following error;

    Error Details
    =============
    An error of type E_ERROR was caused in line 538 of the file /home/oliviag9/public_html/wp-content/plugins/kadence-woocommerce-email-designer/kadence-woocommerce-email-designer.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Kadence_Woomail_Designer::add_email_header(), 1 passed in /home/oliviag9/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/oliviag9/public_html/wp-content/plugins/kadence-woocommerce-email-designer/kadence-woocommerce-email-designer.php:538
    Stack trace:
    #0 /home/oliviag9/public_html/wp-includes/class-wp-hook.php(286): Kadence_Woomail_Designer->add_email_header(‘Welcome to Oliv…’)
    #1 /home/oliviag9/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #2 /home/oliviag9/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /home/oliviag9/public_html/wp-content/plugins/woocommerce-product-stock-alert/templates/emails/stock_alert_email.php(13): do_action(‘woocommerce_ema…’, ‘Welcome to Oliv…’)
    #4 /home/oliviag9/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(249): include(‘/home/oliviag9/…’)
    #5 /home/oliviag9/public_html/wp-content/plugins/woo

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error’ is closed to new replies.