Banner Logo

Eid Mubarak Sale: Celebrate with Savings!

Enjoy 23% Off!

Coupon code:


Error on WCMP vendor-new-order

WCMp Vendor Vacation


Viewing 9 reply threads
  • Author
    • #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

    • #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 —
      Thanks for your suggestion.

    • #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,I and all Brazilians will be very grateful. Thank U so much

    • #123319

      We will update our core wcmp plugin. From the next version, you don’t face this error from wcmp.

    • #123322

      Thank you so much, you re plugin is awesome and you re support too. I already rated it 5 stars!

    • #123337

      Thanks for taking your time and reviewing our plugin.

      You can track the progress of this from here :

    • #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->
      maybeRenderEmailShipmentsTable(Object(WC_Order), true)
      #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

    • #125448

      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 :

    • #125520

      Hi, Im so grateful, thank u so much. I’ll follow on github 🙂

    • #125521


Viewing 9 reply threads

The topic ‘Error on WCMP vendor-new-order’ is closed to new replies.