• Resolved mahevo

    (@mahevo)


    Hello,
    we would like to use the WooCommerce Measurement Price Calculator (link provided) for our shop together with the Flexible Shipping plugin. Unfortunately they seem to be incompatible, because it is not possible to create an order any more. After clicking the “Place order” button in checkout, the following erroroccures:

    Fatal error: Uncaught TypeError: Argument 1 passed to WPDesk\Mutex\WordpressPostMutex::fromOrder() must be an instance of WPDesk\Mutex\WC_Order, instance of WC_Order given, called in /mywebsite.com/wp-content/plugins/flexible-shipping/classes/flexible-shipping-plugin.php on line 187 and defined in /mywebsite.com/wp-content/plugins/flexible-shipping/vendor/wpdesk/wp-mutex/src/WPDesk/Mutex/WordpressPostMutex.php:53 Stack trace: #0 /mywebsite.com/wp-content/plugins/flexible-shipping/classes/flexible-shipping-plugin.php(187): WPDesk\Mutex\WordpressPostMutex::fromOrder(Object(WC_Order)) #1 /mywebsite.com/wp-includes/class-wp-hook.php(288): WPDesk_Flexible_Shipping_Plugin->add_flexible_shipping_order_meta_on_checkout(Object(WC_Order)) #2 /mywebsite.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #3 /mywebsite.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /mywebsite in /mywebsite.com/wp-content/plugins/flexible-shipping/vendor/wpdesk/wp-mutex/src/WPDesk/Mutex/WordpressPostMutex.php on line 53

    I assume that the measurement plugin changes some contents in the WC_Order, maybe weight and amount. Would it be possible that you have a look at this issue? Please let me know if you need further information.

    Thank you in advance.

    Regards
    Manuel

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,
    ?
    ?Sorry for the inconvenience. This problem has appeared in the last update of Flexible Shipping (2.18).
    ?
    ?We are currently working on the fix. It should be ready for download as soon as possible.
    ?
    ?you can temporary solve this problem by downgrading the plugin to the 2.1.7 version: https://wpde.sk/po/51f9w106bsre.png
    ?
    ?i will let you know when the update is ready,.

    We have released a new version of Flexible Shipping (2.1.10) which resolves this issue.
    ?
    ?
    ?Please update. Sorry for the inconvenience.

    Thanks guys. All seems to be working as it should again now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incompatibility with WooCommerce Measurement Price Calculator’ is closed to new replies.