Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Parameter mistake – Shipping Tracking

WCMp Core

Tagged: 

Resolved
Viewing 11 reply threads
  • Author
    Posts
    • #125413
      AlvaroSouza
      Participant

      When I try to input the tracking url and code on vendor’s page, page break and show this error:
      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

      Please help me

    • #125429

      Hi,
      We have checked our end, checkout the video – https://www.loom.com/share/988a49cb0dd447d096ac66f0edf067ea

      Seems like some plugin or theme conflict issue. Kindly deactivate all plugins except Woocommerce WCMp and WCMp add-ons. then change a default theme like twenty twenty and check your site.

      Let us know if you facing any issue.

      Regards,

    • #125432
      AlvaroSouza
      Participant

      I will check and i ll return to feedback

    • #125492

      Sure @Alvaro .

    • #125831
      AlvaroSouza
      Participant

      Hi Ninja, came back to work alone, I don’t know how kkkk probably a host issue. Let me take another question, there s a way, that always a vendor send a tracking number ,in addition to going to the customer, get to my email too?

    • #125835

      @AlvaroSouza, you can send the same email to admin. I am sharing the code snippet with you :

      add_filter('woocommerce_email_recipient_notify_shipped', 'sent_admin_too');
      function sent_admin_too($recipient){
        $recipient = ','.'add_admin_email_here';
        return $recipient;
      }
      Copy

      Make sure to pass the admin’s email there.

    • #125836
      AlvaroSouza
      Participant

      Hi moumita, thank you again :), i will serach this page to change the code. Very nice day for you all!

    • #125843

      It’s our pleasure @AlvaroSouza

      • #125897
        AlvaroSouza
        Participant

        sorry to bother again, i just have one more doubt. I add this code on theme function or in wcmp_vendor_order (editing the wcmp plugin)?

    • #125915

      @AlvaroSouza, you need to add this code in the function.php of your theme.

    • #125947
      AlvaroSouza
      Participant

      Thanks! 🙂

    • #125958

      You are welcome @AlvaroSouza 🙂

    • #128691

      we are happy to help you
      We would love it if you shared your experience by giving us 5/5 review here :
      https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/#new-post
      Seeing glowing reviews from existing customers makes others more comfortable knowing they’ll get the support they need with an issue with our services when arise.

Viewing 11 reply threads

The topic ‘Parameter mistake – Shipping Tracking’ is closed to new replies.