• Resolved phuongtruong

    (@phuongtruong)


    We went from 5.05 to the latest update and this happens with no other changes. With this plugin deactivated, the errors are gone.

    This error appear inside the ‘Order’ details under shipping method.

    Error Details
    =============
    An error of type E_ERROR was caused in line 52 of the file

    /plugins/flexible-shipping/src/WPDesk/FS/TableRate/ShippingMethodsIntegration/OrderMetaData.php. Error message: Uncaught Error: Call to a member function get_data() on array in /plugins/flexible-shipping/src/WPDesk/FS/TableRate/ShippingMethodsIntegration/OrderMetaData.php:52


    Stack trace:
    #0 /wp-includes/class-wp-hook.php(324): WPDesk\FS\TableRate\ShippingMethodsIntegration\OrderMetaData->get_meta_key_display_value(‘3-5 business da…’, Array, Object(WC_Order_Item_Shipping))
    #1 /wp-includes/plugin.php(205): WP_Hook->apply_filters(‘3-5 business da…’, Array)
    #2 /plugins/woocommerce-table-rate-shipping/woocommerce-table-rate-shipping.php(319): apply_filters(‘woocommerce_ord…’, ‘3-5 business da…’, Array, Object(WC_Order_Item_Shipping))
    #3 /wp-includes/class-wp-hook.php(324): BE_Table_Rate_WC->dashboard_description_fix(Array, Object(WC_Order_Item_Shipping))
    #4 /wp-includes/plugin.php(205): WP_Hook->apply_filter

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author grola

    (@grola)

    Hi @phuongtruong, it’s likely that another plugin is using a filter to modify the content passed by WooCommerce. Instead of an object, an array is being passed. In the next version, we will introduce a fix to prevent errors in such cases. Thank you for reporting this.

    Best regards
    Grzegorz

    Thread Starter phuongtruong

    (@phuongtruong)

    Strange! I didn’t add any new plugins recently and it has just happened with the latest update and woocommerce 9.5. May be there is a hiccup somewhere in between. Can’t wait for the fix and thank you for your response!

    Plugin Author grola

    (@grola)

    Fixed in 5.0.9

    Thread Starter phuongtruong

    (@phuongtruong)

    Works great again! You guys are amazing ??

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.