• Resolved gfloras500

    (@gfloras500)


    Hi, I am using DOKAN MULTIVENDOR. When I login as a Vendor, go to ORDERS, select a number of orders in order to change their status en masse, I get the following FATAL ERROR message. When I check the orders again, the change the change in status has been made, despite this error. Note that the orders are mainly Completed status, changing for test reasons to Processing.

    FOLLOWING THE MESSAGE I GET

    Fatal error: Uncaught Error: Call to a member function get_id() on bool
    in /home/livesho4/public_html/wp-content/plugins/dokan-pro/includes/Reports.php on line 243
    Call stack:
        WeDevs\D\Reports::refresh_reports_cache()
        wp-includes/class-wp-hook.php:305
        WP_Hook::apply_filters()
        wp-includes/class-wp-hook.php:327
        WP_Hook::do_action()
        wp-includes/plugin.php:470
        do_action()
        wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php:173
        WC_Order_Data_Store_CPT::update()
        wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179
        WC_Data_Store::update()
        wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:185
        WC_Abstract_Order::save()
        wp-content/plugins/woocommerce/includes/class-wc-order.php:220
        WC_Order::save()
        wp-content/plugins/woocommerce/includes/class-wc-order.php:333
        WC_Order::update_status()
        wp-content/plugins/dokan-lite/includes/wc-functions.php:1127
        dokan_bulk_order_status_change()
        wp-includes/class-wp-hook.php:303
        WP_Hook::apply_filters()
        wp-includes/class-wp-hook.php:327
        WP_Hook::do_action()
        wp-includes/plugin.php:470
        do_action()
        wp-includes/template-loader.php:13
        require_once()
        wp-blog-header.php:19
        require()
        index.php:17

    thanks
    George

Viewing 3 replies - 1 through 3 (of 3 total)
  • Shafinoid

    (@shafinahmad01)

    Hello @gfloras500

    Thanks for your valuable query & time

    Most probably within your selection, there might be some products that are deleted from the vendor account but those products related orders still exist and that’s why you might have to get the issue.

    But this error is not coming from Dokan Lite you can see that from the error log. I will request you to create a ticket on the official site and we will be able to help you there properly. Because we cannot provide the support which is not related to the Dokan Lite version as per WordPress Community rules.

    Best Regards!

    Thread Starter gfloras500

    (@gfloras500)

    Hi @shafinahmad01
    thanks for the prompt reply. I will check what you suggest and if needed I will create a ticket.
    Thanks again
    George

    Thread Starter gfloras500

    (@gfloras500)

    By the way, you were right. When products deleted, I get this error

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ERRORS ON CHANGE OF ORDERs STATUS’ is closed to new replies.