Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gabrielprea

    (@gabrielprea)

    Carlos, boa noite?
    Como consigo esse suporte seu? Pode me ajudar a programar ou indicar uma solu??o?

    • This reply was modified 3 years, 12 months ago by gabrielprea.
    Thread Starter gabrielprea

    (@gabrielprea)

    found it, thanks a lot.

    Thread Starter gabrielprea

    (@gabrielprea)

    Hello, Georgi. It worked oud. There was a conflict wih the plugin shipping zones.

    The solution is bellow:

    Hello, the issue is with plugin woo-instant-notifications. They have “re-defined” the hook woocommerce_email_order_meta with only 2 parameters. If you change line 279 in
    woo-instant-notifications/admin/class-wcnotifications-instance.php to:
    do_action( ‘woocommerce_email_order_meta’, $this->object, true, $plain_text, $email);

    Thread Starter gabrielprea

    (@gabrielprea)

    hello Georgi, I tried that, however it seemed it didnt worked out.
    There is only one condition as you mentioned. Anything else I could be trying?
    thanks.,

    Thread Starter gabrielprea

    (@gabrielprea)

    Hello. Thanks for your help. I actually dont need the plugin woo instant for my aplication, ill disabled it. Its all good now.

    Thread Starter gabrielprea

    (@gabrielprea)

    I updated to the new version. It still appears the error in the log below. Can’t finish the checkout process for a product.

    2020-11-09T19:34:07+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function szbd_add_picked_location_to_emails(), 2 passed in /home2/preadi47/tastyburgerdlv.com.br/wp-includes/class-wp-hook.php on line 287 and exactly 4 expected in /home2/preadi47/tastyburgerdlv.com.br/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/shipping-zones-by-drawing.php:386
    Stack trace:
    #0 /home2/preadi47/tastyburgerdlv.com.br/wp-includes/class-wp-hook.php(287): szbd_add_picked_location_to_emails(Object(Automattic\WooCommerce\Admin\Overrides\Order), true)
    #1 /home2/preadi47/tastyburgerdlv.com.br/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /home2/preadi47/tastyburgerdlv.com.br/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home2/preadi47/tastyburgerdlv.com.br/wp-content/plugins/woo-instant-notifications/admin/class-wcnotifications-instance.php(279): do_action(‘woocommerce_ema…’, Object(Automattic\WooCommerce\Admin\Overrides\Order), true)
    #4 /home2/preadi47/tastyburgerdlv.com.br/wp-content/plugi, em /home2/preadi47/tastyburgerdlv.com.br/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/shipping-zones-by-drawing.php, na linha 386

    Thread Starter gabrielprea

    (@gabrielprea)

    Please see below the error thats appearing:

    2020-11-08T19:19:25+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function szbd_add_picked_location_to_emails(), 2 passed in /home2/preadi47/tastyburgerdlv.com.br/wp-includes/class-wp-hook.php on line 287 and exactly 4 expected in /home2/preadi47/tastyburgerdlv.com.br/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/shipping-zones-by-drawing.php:386
    Stack trace:
    #0 /home2/preadi47/tastyburgerdlv.com.br/wp-includes/class-wp-hook.php(287): szbd_add_picked_location_to_emails(Object(Automattic\WooCommerce\Admin\Overrides\Order), true)
    #1 /home2/preadi47/tastyburgerdlv.com.br/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /home2/preadi47/tastyburgerdlv.com.br/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home2/preadi47/tastyburgerdlv.com.br/wp-content/plugins/woo-instant-notifications/admin/class-wcnotifications-instance.php(279): do_action(‘woocommerce_ema…’, Object(Automattic\WooCommerce\Admin\Overrides\Order), true)
    #4 /home2/preadi47/tastyburgerdlv.com.br/wp-content/plugi, em /home2/preadi47/tastyburgerdlv.com.br/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/shipping-zones-by-drawing.php, na linha 386

Viewing 7 replies - 1 through 7 (of 7 total)