• Resolved adrikr73

    (@adrikr73)


    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

    • This topic was modified 4 years, 5 months ago by adrikr73.
Viewing 1 replies (of 1 total)
  • Plugin Author Zorem

    (@zorem)

    Hi @adrikr73,

    We checked we could not replicate the issue on our website. Try to deactivate all your plugins and just Keep ALP and WC active, check if the issue continues, if it’s working, activate the other plugins one by one and check until you find the one that creates the conflict.

    Thanks ??

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin crashes all the emails’ is closed to new replies.