Title: Error when completing orders as admin
Last modified: April 9, 2021

---

# Error when completing orders as admin

 *  Resolved [refluxcomponents](https://wordpress.org/support/users/refluxcomponents/)
 * (@refluxcomponents)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-when-completing-orders-as-admin/)
 * 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)

 *  [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * (@rur165)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-when-completing-orders-as-admin/#post-14302963)
 * Hello [@refluxcomponents](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/dokan-lite/assets/icon-256x256.gif?rev=3239229)
 * [Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy](https://wordpress.org/plugins/dokan-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dokan-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dokan-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/dokan-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dokan-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dokan-lite/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [dokan](https://wordpress.org/support/topic-tag/dokan/)
 * [order](https://wordpress.org/support/topic-tag/order/)
 * [status](https://wordpress.org/support/topic-tag/status/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/error-when-completing-orders-as-admin/#post-14302963)
 * Status: resolved