Error on WCMP vendor-new-order

WCMp Vendor Vacation

Tagged: 

Resolved
Viewing 9 reply threads
  • Author
    Posts
    • #123222
      AlvaroSouza
      Participant

      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

      Hi,
      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.

    • #123261
      AlvaroSouza
      Participant

      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 guilheralvaro@gmail.com,I and all Brazilians will be very grateful. Thank U so much

    • #123319

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

    • #123322
      AlvaroSouza
      Participant

      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 : https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/880

    • #125427
      AlvaroSouza
      Participant

      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
      GoDaddy\WordPress\MWC\Core\WooCommerce\ShipmentsTable::maybeRenderEmailShipmentsTable(),
      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 : https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/919

    • #125520
      AlvaroSouza
      Participant

      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.