Error on WCMP vendor-new-order Open
Tagged: WCMP error
June 16, 2021 at 3:55 PM #123222
Recently i created a topic reporting a gateway checkout problem.Discover the error and I decided to create this one to be more “clean”, the other one already had a lot.
The problem is that you are going back 3 parameters instead of 4 in the hooks, you are missing the parameter $email.
You should release an update by changing line 21 of the vendor_new_order.php file to look like this\: <?php do_action(‘woocommerce_email_before_order_table’, $order, true, false); ?> and should change to this way <?php do_action(‘woocommerce_email_before_order_table’, $order, true, false, $email); ?> to make it works
June 16, 2021 at 7:57 PM #123257
This is because of plugin conflict. We provided do_action for the third-party customization. But if it causing an issue, we will definitely update it in our next version.
From here you can track the issue update — https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/876
Thanks for your suggestion.
June 16, 2021 at 8:15 PM #123261
Hi Raju, thanks for answer, I thinks thist 4-party is very essencial in a lot fo countries.if you don’t want to change the original plugin, advise to create another WCMP (WCMP South America or just WCMP Brazil) and put this update, this is will help a lot of people.
You re amazing, greetings from Brazil.Please if you have this update, please contact me at firstname.lastname@example.org,I and all Brazilians will be very grateful. Thank U so much
June 17, 2021 at 8:02 PM #123319
We will update our core wcmp plugin. From the next version, you don’t face this error from wcmp.
June 17, 2021 at 8:09 PM #123322
Thank you so much, you re plugin is awesome and you re support too. I already rated it 5 stars!
June 17, 2021 at 9:00 PM #123337
Thanks for taking your time and reviewing our plugin.
You can track the progress of this from here : https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/880
July 26, 2021 at 5:09 PM #125427
Hi raj, how are you? This worked on the last update, but i found a new parameter mismatch on shipping vendor’s tracking:
Uncaught ArgumentCountError: Too few arguments to function
2 passed in /var/www/wp-includes/class-wp-hook.php on line 303 and exactly 4
expected in /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/WooCommerce/ShipmentsTable.php:79
Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(303): GoDaddy\WordPress\MWC\Core\WooCommerce\ShipmentsTable->
#1 /var/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
#2 /var/www/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /var/www/wp-content/plugins/dc-woocommerce-multi-vendor/templates/emails/vendor-notify-shipped.php(55): do_action(‘woocommerce_ema…’, Object(WC_Order), true)
#4 /var/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/var/www/wp-con…’)
#5 /var/www/wp-content/plugins/dc-woocommerce-multi-vendor/classes/emails/class-wcmp-email- in /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/WooCommerce/ShipmentsTable.php on line 79
July 26, 2021 at 7:11 PM #125448NerdySupportExpert MoumitaKeymaster
Hi @AlvaroSouz, nice to hear from you again.
I have created a git issue for this. The team will check. Raju will get in touch with you, if he needs any help.
For now you can track the issue from here : https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/919
July 27, 2021 at 4:23 PM #125520
Hi, Im so grateful, thank u so much. I’ll follow on github 🙂
July 27, 2021 at 4:48 PM #125521NerdySupportExpert MoumitaKeymaster
Please LOGIN to reply to this topic