Plugin crashes all the emails
-
Hi!
First of all, congrats for the plugin. It’s just what I need and let’s see if I can solve all my problems.
The thing is that when Plugin is active it crashes all the WP emails related to the orders. Can you help me with it?
The error says the following:
“Uncaught ArgumentCountError: Too few arguments to function WC_Local_Pickup_admin::add_addional_content_on_processing_email(), 3 passed in /homepages/23/d629087550/htdocs/xxxxxx/wp-includes/class-wp-hook.php on line 287 and exactly 4 expected in /homepages/23/d629087550/htdocs/xxxxxx/wp-content/plugins/advanced-local-pickup-for-woocommerce/include/wc-local-pickup-admin.php:468
Stack trace:
#0 /homepages/23/d629087550/htdocs/xxxxxx/wp-includes/class-wp-hook.php(287): WC_Local_Pickup_admin->add_addional_content_on_processing_email(Object(Automattic\WooCommerce\Admin\Overrides\Order), true, false)
#1 /homepages/23/d629087550/htdocs/xxxxxx/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#2 /homepages/23/d629087550/htdocs/xxxxxx/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /homepages/23/d629087550/htdocs/xxxxxx/wp-content/themes/mg_space/woocommerce/emails/admin-new-order.php(19): do_action(‘woocommerce_ema…’, Object(Automattic\WooCommerce\Admin\Ove”Thank you in advance!
KR
- The topic ‘Plugin crashes all the emails’ is closed to new replies.