• Resolved refluxcomponents

    (@refluxcomponents)


    Hello,

    We are having trouble changing order status to ‘Completed’ in wp-admin area.

    Here is the error:

    CRITICAL Uncaught Error: Call to a member function get_id() on bool in /dokan-lite/includes/functions.php:2160
    Stack trace:
    #0 /dokan-lite/includes/Emails/VendorCompletedOrder.php(105): dokan_get_vendor_order_details(26299, 1230)
    #1 wp-includes/class-wp-hook.php(292): WeDevs\Dokan\Emails\VendorCompletedOrder->trigger(26299, Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #2 wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #3 wp-includes/plugin.php(551): WP_Hook->do_action(Array)
    #4 /wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array('woocommerce_ord...', Array)
    #5 /wp-content/plugins/dokan-lite/includes/functions.php on line 2160

    Please advise. Thank you!

Viewing 1 replies (of 1 total)
  • Hello @refluxcomponents ,

    Okay, this can be annoying.

    To reproduce the error, I have just marked an order as “completed” from the admin dashboard. I am using the latest WooCommerce, Dokan Lite, and Dokan Pro. There were no issues with the order status update.

    Please try to perform the order status update after deactivating all plugins except WooCommerce and Dokan. Also, switch over to a default theme like Storefront during the test.

    Let me know the update.

    Thank you ??

Viewing 1 replies (of 1 total)
  • The topic ‘Error when completing orders as admin’ is closed to new replies.