Fatal error on checkout in the latest update

MultivendorX

Open
Viewing 9 reply threads
  • Author
    Posts
    • #217659
      MaxenceTP
      Participant

      Hello, when a user checkout, there is a fatal error since the 4.1.4 update (it was working before) :

      [29-Feb-2024 12:06:31 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_meta() on int in /var/www/wordpress/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-calculate-commission.php:77
      Stack trace:
      #0 /var/www/wordpress/wp-includes/class-wp-hook.php(324): MVX_Calculate_Commission->mvx_vendor_new_order_mail()
      #1 /var/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
      #2 /var/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
      #3 /var/www/wordpress/wp-content/plugins/woocommerce/includes/class-wc-order.php(421): do_action()
      #4 /var/www/wordpress/wp-content/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition()
      #5 /var/www/wordpress/wp-content/plugins/woocommerce/includes/class-wc-order.php(151): WC_Order->save()
      #6 /var/www/wordpress/wp-content/plugins/mvx-pro/modules/stripe-marketplace/classes/class-mvx-stripe-marketplace-payment-method.php(3032): WC_Order->payment_complete()
      #7 /var/www/wordpress/wp-content/plugins/mvx-pro/modules/stripe-marketplace/classes/class-mvx-stripe-marketplace-payment-method.php(1747): MVX_Stripe_Marketplace_Gateway->process_response()
      #8 /var/www/wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1058): MVX_Stripe_Marketplace_Gateway->process_payment()
      #9 /var/www/wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1287): WC_Checkout->process_order_payment()
      #10 /var/www/wordpress/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(508): WC_Checkout->process_checkout()
      #11 /var/www/wordpress/wp-includes/class-wp-hook.php(324): WC_AJAX::checkout()
      #12 /var/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
      #13 /var/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
      #14 /var/www/wordpress/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()
      #15 /var/www/wordpress/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax()
      #16 /var/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
      #17 /var/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
      #18 /var/www/wordpress/wp-includes/template-loader.php(13): do_action()
      #19 /var/www/wordpress/wp-blog-header.php(19): require_once(‘…’)
      #20 /var/www/wordpress/index.php(17): require(‘…’)
      #21 {main}
      thrown in /var/www/wordpress/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-calculate-commission.php on line 77

    • #217661

      @MaxenceTP, thanks for sharing the error. We will fix this in our next update.

      In the mean time, if you can share a temporary admin, ftp access our team can fix that in your site.
      While sharing the access, don’t forget to mark the response as private.

    • #217669
      FRESHOPP FRESHOPP
      Participant

      Good morning,
      We also have this error. Impossible to make the last update to attempt a correction. Is this in progress?

    • #217673
      MaxenceTP
      Participant

      Can you fix it on your side and send me the fix? I really need it quickly.
      Or you can find my credentials in my previous posts

    • #217698

      Hello there, we will release an update by today EOD with this fix.

      However if you want, you can use this fixed version of the plugin from here https://www.transfernow.net/dl/20240301eF31jJmR

    • #217702

      We have released an update with the fix for this issue. Kindly update the MultiVendorX plugin to the latest 4.1.5 version and check.

    • #217732
      MaxenceTP
      Participant

      Looks good, thank you

    • #217751

      You are welcome. Let us know if you need any further assistance from our end.

    • #218807
      flaxzune
      Participant

      Can you fix it on your side and send me the fix?

    • #218808

      We have added fix for this and released the fix as well. Kindly update the MultiVendorX plugin to the latest versions on your end and check.

      Let us know if you need any further assistance from our end.

Viewing 9 reply threads

Please LOGIN to reply to this topic