• Resolved cloudchan

    (@cloudchan)


    I have found out that my wordpress site will go to the Error Page and tell me to read the following admin’s email with error messages if I enter the price of one product to $0. After upgrading everything, the same problems still happens if the product’s price is $0.

    Do somebodies have the same problem with the following error message in Admin Email ? How to fix this problem ?

    WordPress Version 5.9.3
    Current Them Version:Envo Marketplace Child 1.1.2.1644275621
    Current Plugin Version:WC Vendors Marketplace 2.4.1
    PHP Version 8.0.15

    Errors in Detail
    ==================
    E_ERROR Type of error is in the file /home/ishop/public_html/shop/wp-content/plugins/wc-vendors/classes/class-commission.php caused in line 121 with error message:Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /home/ishop/public_html/shop/wp-content/plugins/wc-vendors/classes/class-commission.php:121
    Stack trace:
    #0 /home/ishop/public_html/shop/wp-content/plugins/wc-vendors/classes/class-commission.php(121): implode()
    #1 /home/ishop/public_html/shop/wp-includes/class-wp-hook.php(309): WCV_Commission::reverse_due_commission()
    #2 /home/ishop/public_html/shop/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #3 /home/ishop/public_html/shop/wp-includes/plugin.php(474): WP_Hook->do_action()
    #4 /home/ishop/public_html/shop/wp-content/plugins/woocommerce/includes/class-wc-order.php(373): do_action()
    #5 /home/ishop/public_html/shop/wp-content/plugins/woocommerce/includes/class-wc-order.php(222): WC_Order->status_transition()
    #6 /home/ishop/public_html/shop/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(635): WC_Order->save()
    #7 /home/ishop/public_html/shop/wp-includes/class-wp-hook.php(309): WC_Meta_Box_Order_Data::save()
    #8 /home/ishop/public_html/shop/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #9 /home/ishop/public_html/shop/wp-includes/plugin.php(474): WP_Hook->do_action()
    #10 /home/ishop/public_html/shop/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(222): do_action()
    #11 /home/ishop/public_html/shop/wp-includes/class-wp-hook.php(309): WC_Admin_Meta_Boxes->save_meta_boxes()
    #12 /home/ishop/public_html/shop/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #13 /home/ishop/public_html/shop/wp-includes/plugin.php(474): WP_Hook->do_action()
    #14 /home/ishop/public_html/shop/wp-includes/post.php(4687): do_action()
    #15 /home/ishop/public_html/shop/wp-includes/post.php(4789): wp_insert_post()
    #16 /home/ishop/public_html/shop/wp-admin/includes/post.php(426): wp_update_post()
    #17 /home/ishop/public_html/shop/wp-admin/post.php(227): edit_post()
    #18 {main}
    thrown`

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mark Kevin

    (@mkesteban08)

    Hi @cloudchan ,

    It seems that I could not replicate the issue from my end as I was able to add a product successfully even while filling up the regular price field with $0.

    This tells us that there’s a possibility of a conflict within your site. Please consider following our debugging guide in order to isolate this possibility – https://docs.wcvendors.com/docs/wc-vendors/troubleshooting/the-debugging-guide/

    I hope that this could help and please feel free to let me know if you need further assistance afterward. Have a nice day ahead!

    Thread Starter cloudchan

    (@cloudchan)

    Dear Mark,

    You are right that I can also create new product with $0 and then save it with no problem.

    The error will happen only after I have modified the Status of one new Order and then save it. Do you get the same result ?

    Best Regards. Cloud

    noquest

    (@noquest)

    Hi @cloudchan,

    We still can’t replicate this error. Would you mind providing the steps that you took to replicate the error?

    Also, does the issue persist after you followed our debugging guide?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Go to error page if the price is $0 after updating’ is closed to new replies.