Home Forums WC Vendors Pro Support Urgent: Blank Orders and Coupons Page – Check Your Pro Demo

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 47 posts - 1 through 47 (of 47 total)
  • Author
    Posts
  • #62076
    Daman
    Participant

    After upgrade Orders page and Coupons pages are blank.

    Even your Pro Dashboard Demo is same:

    http://dev.wcvendors.com/dashboard/order/
    http://dev.wcvendors.com/dashboard/shop_coupon/

    Please check server error logs: it says call to some undefined functions.

    #62120
    Mircea
    Participant

    If it is true, it does not appear. Any solution?

    #62122
    Anna
    Member

    Hello,
    Thank you for letting us know.
    I have received several reports of this. I do see it on our demo site.
    It is NOT happening on my development site– and I have not yet been able to make it happen on my development site.. so I am testing and reporting the issue.
    I’ll update when I have more information.

    #62123
    Daman
    Participant

    @anna
    To reproduce these issues:

    Coupons Page- Create a coupon and then navigate back to coupons page. It will be blank.
    Orders page- If you have more than one order, it goes blank.

    #62124
    Anna
    Member

    @daman
    Thank you!
    Yes- I see that if a vendor has no orders, both pages show properly. If the vendor has orders, neither page shows.. only blank. This all happens on our dev site.
    On my local install development site, the pages all show correctly, even if the vendor has orders.
    We’re working on it. This is a nice and weird one, for sure.

    #62150
    Aaron
    Participant

    I believe I have the same issue on the pro dashboard.

    #62175
    Oluwatosin
    Participant

    same with me. plus free shipping coupon not working as it should – not removing shipping costs.
    My orders page is fine for now though. Thx

    #62191
    Anna
    Member

    Hello,
    I’ve reported this issue and will let you know as soon as I have an update or a fix available. Thank you for your patience!

    #62278
    Jamie
    Keymaster

    Hello,

    I am actively working on this. I can’t replicate this locally so I’m having to do remote debugging which is slowing things down.

    cheers,

    Jamie.

    #62280
    Jamie
    Keymaster

    Hello,

    Until our next release (24 hrs or so) you can modify the source with the following fix.

    File name and path

    public/class-wcvendors-pro-order-controller.php

    Line: 375

    Replace with this :

    $product_id = ( version_compare( WC_VERSION, ‘2.7’, ‘<' ) ) ? !empty( $item['variation_id'] ) ? $item['variation_id'] : $item['product_id'] : $item->get_product_id();

    cheers,

    Jamie.

    #62282
    Jamie
    Keymaster

    Hello,

    Whoops, forgot to give you the fix for coupons.

    File: public/class-wcvendors-pro-order-controller.php

    Line: 273 replace with

    $coupon_amount = ( version_compare( WC_VERSION, ‘2.7’, ‘<' ) ) ? $the_coupon->coupon_amount : $the_coupon->get_amount();

    cheers,

    Jamie.

    #62289
    Mircea
    Participant

    Hi, I’ve changed the line you provided and the page looks blank. Attached photo with line 375 that I have changed. After you paste the code everything turns gray. I am doing something wrong?
    Thanks

    #62303
    Anna
    Member

    Hello,
    That code is not formatted correctly; fancy quotes. Try it formatted like this so the quotes are code friendly:

    public/class-wcvendors-pro-order-controller.php
    Line: 375
    Replace with this :

    https://gist.github.com/fervous/4efb6593d9ce2c90b2da02b88002ef89

    File: public/class-wcvendors-pro-order-controller.php
    Line: 273 replace with

    https://gist.github.com/fervous/a36601ba3416173b474ef6dc3ca12679

    #62364
    Daman
    Participant

    @anna

    Orders page is still blank. It doesn’t fix it.

    and your 2nd code goes to shop-coupon controller file not in order controller.
    And it fixes the shop coupons tab.

    Any other hot fix for orders page?

    #62424
    Anna
    Member

    Hello,
    WC Vendors Pro v1.4.2 is now available, and the fix for this issue has been included in this update.
    Download it: https://www.wcvendors.com/my-account/downloads/
    Changelog: https://www.wcvendors.com/help/topic/pro-updates/#post-62403

    #62444
    Oluwatosin
    Participant

    Hi,

    > updated to Pro v1.4.2 (coupon and order pages come up nicely) BUT

    < Got Internal Server Error at checkout page.

    > reversed back to Pro v1.4.1 and NO ERROR.

    Pls advice.

    #62452
    Anna
    Member

    @bargainwebb
    Were you using the WC Vendors test gateway, or another payment processor/payment method at checkout?

    #62456
    Oluwatosin
    Participant

    WC Vendor Test Gateway

    #62459
    Oluwatosin
    Participant

    Same error on your demo site – see attached screenshot

    #62477
    Daman
    Participant

    Confirmed, it’s throwing 500 server error on checkout.
    Paypal checkout works though but Credit/Debit cards throw 500 error.

    #62481
    Anna
    Member

    @daman
    Please let me know what your error_log says (last 20 lines or so).

    You said credit card transactions… what gateway were you using for the credit card transactions? I have seen this occur with our WC Vendors testing gateway.. what gateway were you using?

    #62485
    Daman
    Participant
    #62487
    Arik
    Participant

    I have the same error massage on my website after updating. :/

    #62489
    Daman
    Participant

    There are many errors about deprecated functions but 500 error about this issue is this one:
    ———————-
    [Wed Apr 19 22:58:42.474309 2017] [:error] [pid 22463] PHP Fatal error: Call to a member function get_product_id() on null in /var/www/wordpress/wp-content/plugins/wc-vendors-pro/admin/class-wcvendors-pro-commission-controller.php on line 450, referer: /checkout/
    ————-

    Maybe a quick fix for developer.
    Rescue us @digitalchild

    #62492
    Anna
    Member

    @ariktwena
    Which Gateway are you using?

    @daman

    Are you using Stripe Commission & Gateway v1.0.5?

    #62493
    Anna
    Member

    ^^ I need this info for submitting the issue so we can know exactly what your environment was when experiencing these issues. This helps us resolve these as quickly as possible.

    #62494
    Daman
    Participant

    @anna
    No Stripe Commission gateway.

    Just simple Woo-commerce’s Stripe Checkout.

    #62518
    Jamie
    Keymaster

    Hello,

    Sorry for this, my search and replace broke commissions calculations, mental note. Triple check checkout before pushing release.

    https://gist.github.com/digitalchild/0fba03355b9d93aae2dfaa83251cba7a

    This will fix checkout.

    cheers,

    Jamie.

    #62520
    Oluwatosin
    Participant

    Sorted.

    #62524
    Oluwatosin
    Participant

    Hello Jamie, Checkout sorted. But vendor new order notification not showing shipping costs.

    #62530
    Jamie
    Keymaster

    Hello,

    That’s a free issue. Will look into that now.

    cheers,

    Jamie.

    #62532
    Oluwatosin
    Participant

    Thanks. Will await your assistance here.

    On the side, i plan to use https://en-gb.wordpress.org/plugins/reward-points-for-woocommerce/.
    Only Problem is when reward points are used, the total cart price is correctly discounted in admin and buyer email notifications but no discount applies in vendor new order notification. Kindly advice on this if you can.

    #62533
    Oluwatosin
    Participant

    hi, kindly ignore the earlier ‘on the side’ advise request. will find another plugin.

    So awaiting the fix for the ‘shipping cost not showing in vendor email’

    Thanks

    #62553
    Anna
    Member

    @BARGAINWEBB
    Are you using just Vendor Shipping?

    #62556
    Oluwatosin
    Participant

    Are you using just Vendor Shipping?
    Answer: YES.

    Background:
    Pls note the shipping worked perfectly before now.

    Updated to Pro v1.4.2 – got internal server error
    Added the solution Jamie suggested in Line 450 – internal server error sorted. Then found shipping costs not showing only in vendor new order.

    Thx

    #62626
    Oluwatosin
    Participant

    Hello, please note i’m awaiting assistance on the shipping cost not showing in the vendor new order email?

    #62665
    Anna
    Member

    @bargainwebb
    Ye- Jamie is looking into it.
    So far, he has not found any reason why this should be happening; however, he is aware and will investigate further.

    #62832
    Oluwatosin
    Participant

    Thank you. Please I hope I get a solution soon…on-hold here

    #62949
    Oluwatosin
    Participant

    Hello,

    1. Awaiting solution to vendors not receiving shipping costs.

    2. I created a coupon on dev-wcvendors.com, $10 dicount and ‘allowed free shipping’. In cart, discount applied but not the free shipping – see screenshots (same as my site). Pls help here.

    Thank you.

    #69257
    shima
    Participant

    Is there any solution to this? I’m getting this issue since about a month ago I think. Blank dashboard and blank orders page.

    #69262
    Yasa
    Participant

    This started to me after 1.4.4 update, if you receive a new order that vendors orders page comes blank. But the ones has not shopped yet shows the orders page.

    #69307
    Anna
    Member

    @canyasa
    Hello,
    This is not happening at all for me with my testing.
    I am running:
    WC Vendors v1.9.12
    WC Vendors Pro v1.4.4
    WooCommerce v3.1.0
    Theme: Storefront

    If you deactivate all plugins except WooCommerce, WC Vendors and WC Vendors Pro and switch to Storefront theme, does this occur?

    Have you deleted any orders in the past without first reversing commissions?

    #69368
    Yasa
    Participant

    Hi @fervous,
    No I didn’t delete any orders, what I did is I changed the commission % in general settings which I don’t believe that would effect the orders page. This happened only with one vendor, I have other vendors who have variable products but their orders page seems working. Here is the debug log about the order details;

    [03-Jul-2017 14:36:52 UTC] PHP Notice:  Undefined offset: 7154 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 131
    [03-Jul-2017 14:36:52 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_attributes() on boolean in /wp-content/plugins/woocommerce/includes/wc-attribute-functions.php:140
    Stack trace:
    #0 /home/birtanel/public_html/wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php(187): wc_attribute_label('Renk', false)
    #1 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(205): include('/home/***/...')
    #2 /wp-content/plugins/wc-vendors-pro/public/class-wcvendors-pro-order-controller.php(801): wc_get_template('order_details.p...', Array, 'wc-vendors/dash...', '/home/***/...')
    #3 /wp-content/plugins/wc-vendors-pro/public/class-wcvendors-pro-order-controller.php(540): WCVendors_Pro_Order_Controller->order_details_template(Object(stdClass))
    #4 /wp-content/plugins/wc-vendors-pro/public/class-wcvendors-pro-order-controller.php(122): WCVendors_Pro_Order_Controller->table_rows()
    #69395
    Anna
    Member

    @canyasa
    Are you still using Social Marketplace?

    If you deactivate all plugins except WooCommerce, WC Vendors and WC Vendors Pro and switch to Storefront theme, does this occur?

    #69399
    Yasa
    Participant

    @fervous,
    Sorry I forgot to mention, yes still using Social Marketplace. And yes I deactivated all plugins and installed storefront, result was same.

    #69402
    Yasa
    Participant

    @FERVOUS
    Hi just deleted all the orders (with db ofcourse), and that fixed the problem.

    I have changed the variations while a ago and old orders are trying to reach that variation I guess and that caused the error. Now it works with that vendor.

    #0 /home/birtanel/public_html/wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php(187): wc_attribute_label('Renk', false)

    This gave me the clue.

    #69408
    Anna
    Member

    @canyasa
    Hello,
    Ok- my last response was supposed to be to this thread, so I apologize:

    That was the thread that I was discussing the issue witht he Social Marketplace.

    Anyway, yes- there have been issues due to older orders or product information trying to be searched and accessed- and if it is not available, either due to changes (WC updates, changes made within the code), or deleted orders.. then the dashboard will not be able to show if the info is inaccessible.
    I am glad you were able to isolate what was causing the issue for your site.

Viewing 47 posts - 1 through 47 (of 47 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.