• Resolved andy85

    (@andy85)


    Hi

    We have been using your plugin for a while now on php 5.6 with the order status and actions plugin from actuality extensions, but now switching to php 7 it seems not to be working. It gives the following error when updating and order status and doesn’t trigger the email notification to the customer.

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function Kadence_Woomail_Designer::add_email_header(), 1 passed in /home/sitename/sitename.com/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/sitename/sitename.com/wp-content/plugins/kadence-woocommerce-email-designer/kadence-woocommerce-email-designer.php:487 Stack trace: #0 /home/sitename/sitename.com/wp-includes/class-wp-hook.php(286): Kadence_Woomail_Designer->add_email_header(‘Trade in remind…’) #1 /home/sitename/sitename.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/sitename/sitename.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/sitename/sitename.com/wp-content/plugins/woocommerce-status-actions/templates/wc_custom_status_email_html_template.php(10): do_action(‘woocommerce_ema…’, ‘Trade in remind…’) #4 /home/sitename/sitename.com/wp-content/plugins/woocommerce-status-actions/includes/emails/class-wc-sa-email.php(162): include(‘/h in /home/sitename/sitename.com/wp-content/plugins/kadence-woocommerce-email-designer/kadence-woocommerce-email-designer.php on line 487

    This only occurs when switching to php 7 and the author of status actions plugin says this error doesn’t exist their end so must be this plugin.

    Could you possibly help resolve this?

    Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fatal error when switching to PHP 7’ is closed to new replies.