• Resolved mohamettarik

    (@mohamettarik)


    Hello,

    I wonder if Dokan allows admin to place order on behalf of vendors from admin dashboard?

    I did the same but gives site error and troubleshoot

    • This topic was modified 2 years, 6 months ago by mohamettarik.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Shafinoid

    (@shafinahmad01)

    Hi @mohamettarik

    Thank you for reaching us.

    Dokan allows the Admin to create orders on behalf of customers from the WooCommerce > Orders > Add Order for any vendor’s product and the sub-order functionality should work properly.

    But as you have tried to create an order on behalf of a Vendor, could you please share more details for what types of products you have used within that order? Kindly share more information with screenshots then I can better understand the issue to assist you further.

    Stay Safe 🙂

    Thread Starter mohamettarik

    (@mohamettarik)

    Hello,

    Kindly find error details

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Dokan.

    First, visit your website (https://med.soro.ae/) and check for any visible issues. Next, visit the page where the error was caught (https://med.soro.ae/wp-admin/post.php) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.8.2
    Current theme: Astra (version 3.7.5)
    Current plugin: Dokan (version 3.3.1)
    PHP version 8.0.12

    Error Details
    =============
    An error of type E_ERROR was caused in line 274 of the file *********/med.soro.ae/wp-content/plugins/dokan-lite/includes/Commission.php. Error message: Uncaught TypeError: Unsupported operand types: string – int in *********//med.soro.ae/wp-content/plugins/dokan-lite/includes/Commission.php:274
    Stack trace:
    #0 /*********/*******/*********/med.soro.ae/wp-content/plugins/dokan-lite/includes/Order/functions.php(371): WeDevs\Dokan\Commission->get_earning_by_order()
    #1 /*********/*******/*********/med.soro.ae/wp-includes/class-wp-hook.php(305): dokan_sync_insert_order()
    #2 /*********/*******/*********/med.soro.ae/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #3 /*********/*******/*********/med.soro.ae/wp-includes/plugin.php(470): WP_Hook->do_action()
    #4 /*********/*******/*********/med.soro.ae/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(222): do_action()
    #5 /*********/*******/*********/med.soro.ae/wp-includes/class-wp-hook.php(305): WC_Admin_Meta_Boxes->save_meta_boxes()
    #6 /*********/*******/*********/med.soro.ae/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #7 /*********/*******/*********/med.soro.ae/wp-includes/plugin.php(470): WP_Hook->do_action()
    #8 /*********/*******/*********/med.soro.ae/wp-includes/post.php(4468): do_action()
    #9 /*********/*******/*********/med.soro.ae/wp-includes/post.php(4570): wp_insert_post()
    #10 /*********/*******/*********/med.soro.ae/wp-admin/includes/post.php(423): wp_update_post()
    #11 /*********/*******/*********/med.soro.ae/wp-admin/post.php(227): edit_post()
    #12 {main}
    thrown

    Shafinoid

    (@shafinahmad01)

    Hi @mohamettarik

    In your case, a solution cannot be provided without proper investigation. But don’t worry, if the issue is coming from Dokan then we will do our utmost to assist within our support policy.

    Kindly contact us here for further assistance.

    Stay Safe 🙂

    Thread Starter mohamettarik

    (@mohamettarik)

    Thank you, i moved to another plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Placing order by admin’ is closed to new replies.