Home Forums WC Vendors Pro Support Pro Vendor Orders Page, error when showing order with product with variations

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.


Thank you to all of our customers!


Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #62630
    Mark Studholme


    I’ve spent the day looking into this, when you try to access a vendor orders page, when that vendor has orders that have variations we are faced with a white screen. I’ve tracked the problem back to line 376 of /wp-content/plugins/wc-vendors-pro/public/class-wcvendors-pro-order-controller.php

    If you pass a variation id to this class it fails

    $_product = new WC_Product( $product_id );

    Replacing lines 375 – 376 with

    if(!empty( $item[‘variation_id’] )) {
    $_product = new WC_Product_Variation( $item[‘variation_id’] );
    } else {
    $_product = new WC_Product( $item[‘product_id’] );

    has done the trick for me.

    As don’t won’t to go editing your plugin, can you let me know if you can see and similar issue and if so could you include this in the next update of your plugin? Or do you think this is an issue for woocommerce?

    On my local I am using the woocommerce 3.0.4, WC Vendors 1.9.10, WC Vendors Pro 1.3.7

    On our staging we are using woocommerce 3.0.2 but the problem is the same.




    Thank you.
    On your dev site, does this occur still if you update to WC Vendors Pro v 1.4.2?



    That is because any version of pro before 1.4 is not compatible with WC3 at all. Please update to the latest version of Pro and try again.



    Mark Studholme

    Ow What, sorry I did not realise there was an update available, we are up to date now, but now got this, https://www.wcvendors.com/help/topic/view-orders-not-working-since-upgrade/

    Is it possible for show available updates for the pro plugin even if you don’t use the activation key as I don’t for my local and think this is why I did not know to update.


    ps. is there an eta on the orders issue I linked to?


    Thanks @Mark i solve the same problem with ur help!

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