Home Forums WC Vendors Pro Support Vendor Dashboard > Orders Page not working

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 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #56370
    DELETE
    Participant

    Hi,

    I have WC Vendors Pro working, everything is great, except for all of a sudden the orders page in the Pro Dashboard is not working. Dashboard, Store Settings, Coupons all work fine, but clicking the Orders link just displays the Dashboard.

    Any idea why this is happening? The Orders page is a child of Vendor Dashboard page, and contains the [wcv_orders] shortcode. Here’s the system report:

    
    ### WordPress Environment ###
    
    WC Version: 2.6.14
    Log Directory Writable: ✔
    WP Version: 4.7.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: nginx/1.10.3
    PHP Version: 5.6.29
    PHP Post Max Size: 100 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.49.1
    SecureTransport
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.17
    Max Upload Size: 100 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 2.6.14
    : 
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    
    ### Active Plugins (54) ###
    
    CloudFlare Flexible SSL: by iControlWP – 1.2.2
    WP Affiliate Manager: by wp.insider
    wpaffiliatemgr – 2.4.0
    
    AfterShip - WooCommerce Tracking: by AfterShip – 1.6.7
    Ajax Search for WooCommerce: by Damian Góra – 1.1
    WP Offload S3 Lite: by Delicious Brains – 1.1.5
    Amazon Web Services: by Delicious Brains – 1.0.1
    AutomateWoo - Referrals Add-on: by AutomateWoo – 1.3.5.2
    AutomateWoo: by AutomateWoo – 2.8.6.2
    Better Font Awesome: by MIGHTYminnow & Mickey Kay – 1.6.0
    Boxzilla: by ibericode – 3.1.8
    Cloudflare: by John Wineman
    Furkan Yilmaz
    Junade Ali (Cloudflare Team) – 3.1.1
    
    Coming Soon Page & Maintenance Mode by SeedProd: by SeedProd – 5.0.7
    Crop Thumbnails: by Volkmar Kantor – 0.10.12
    Duplicate Post: by Enrico Battocchi – 3.1.2
    Enhanced E-commerce for Woocommerce store: by Tatvic – 1.0.19
    Force Regenerate Thumbnails: by Pedro Elsner – 2.0.6
    WooThumbs - Awesome Product Imagery: by Iconic – 4.6.1
    Instagram Feed: by Smash Balloon – 1.4.8
    WooCommerce Quickview: by Iconic – 3.4.2
    WPBakery Visual Composer: by Michael M - WPBakery.com – 5.0.1
    MailChimp for WordPress: by ibericode – 4.0.13
    Ninja Forms: by The WP Ninjas – 3.0.27
    Packages Configuration for WooCommerce: by Jason Judge [email protected] – 1.2.5
    Slider Revolution: by ThemePunch – 5.2.6
    Rollbar: by flowdee – 1.0.3
    SendGrid: by SendGrid – 1.10.7
    SSL Insecure Content Fixer: by WebAware – 2.2.3
    Super Socializer: by Team Heateor – 7.8.13
    TinyMCE Advanced: by Andrew Ozz – 4.4.3
    W3 Total Cache: by Frederick Townes – 0.9.5.2
    WC Vendors Pro: by WC Vendors – 1.3.9
    WC Vendors: by WC Vendors – 1.9.8
    Widget Importer & Exporter: by churchthemes.com – 1.4.4
    Woo Checkout Field Editor Pro: by ThemeHiGH – 1.1.4
    Woo Stickers by Webline: by Weblineindia – 1.0.4
    Booster Plus for WooCommerce: by Algoritmika Ltd – 1.1.0
    WooCommerce Customizer: by SkyVerge – 2.3.1
    WooCommerce Stripe Gateway: by WooCommerce – 3.0.7
    Booster for WooCommerce: by Algoritmika Ltd – 2.5.9
    WooCommerce Pretty Emails: by MB Création – 1.7.2
    WooCommerce Product Bundles: by WooThemes – 4.14.7
    WooCommerce Product CSV Import Suite: by WooThemes – 1.10.10 – 1.10.12 is available
    WooCommerce Product Reviews Pro: by WooThemes / SkyVerge – 1.6.4 – 1.6.7 is available
    WooCommerce Social Login: by WooThemes / SkyVerge – 2.0.2 – 2.0.4 is available
    WooWaitlist: by WPCream.com – 4.0.1
    WooCommerce Warranty Requests: by WooThemes – 1.8.5
    WooCommerce: by WooThemes – 2.6.14
    Post Meta Revisions: by Adam Silverstein - code developed with others – 0.2.2
    YITH Infinite Scrolling: by YITHEMES – 1.0.7
    YITH WooCommerce Best Sellers: by YITHEMES – 1.0.4
    YITH WooCommerce Customer History Premium: by YITHEMES – 1.0.5
    YITH WooCommerce Product Bundles: by YITHEMES – 1.0.18
    YITH WooCommerce Product Slider Carousel Premium: by YITHEMES – 1.0.14
    YITH WooCommerce Save for Later Premium: by YITHEMES – 1.0.5
    
    ### Settings ###
    
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    
    ### API ###
    
    API Enabled: ✔
    
    ### WC Pages ###
    
    Shop Base: #62 - /shop/
    Cart: #72 - /cart/
    Checkout: #82 - /checkout/
    My Account: #92 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: bundle (bundle)
    external (external)
    gift-card (gift-card)
    grouped (grouped)
    simple (simple)
    variable (variable)
    yith_bundle (yith_bundle)
    
    ### Theme ###
    
    Version: 1.0.0
    Child Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: mytheme/woocommerce/archive-product.php
    mytheme/woocommerce/auth/footer.php
    mytheme/woocommerce/auth/form-grant-access.php
    mytheme/woocommerce/auth/form-login.php
    mytheme/woocommerce/auth/header.php
    mytheme/woocommerce/cart/cart-empty.php
    mytheme/woocommerce/cart/cart-item-data.php
    mytheme/woocommerce/cart/cart-shipping.php
    mytheme/woocommerce/cart/cart-totals.php
    mytheme/woocommerce/cart/cart.php
    mytheme/woocommerce/cart/cross-sells.php
    mytheme/woocommerce/cart/mini-cart.php
    mytheme/woocommerce/cart/proceed-to-checkout-button.php
    mytheme/woocommerce/cart/shipping-calculator.php
    mytheme/woocommerce/checkout/cart-errors.php
    mytheme/woocommerce/checkout/form-billing.php
    mytheme/woocommerce/checkout/form-checkout.php
    mytheme/woocommerce/checkout/form-coupon.php
    mytheme/woocommerce/checkout/form-login.php
    mytheme/woocommerce/checkout/form-pay.php
    mytheme/woocommerce/checkout/form-shipping.php
    mytheme/woocommerce/checkout/payment-method.php
    mytheme/woocommerce/checkout/payment.php
    mytheme/woocommerce/checkout/review-order.php
    mytheme/woocommerce/checkout/terms.php
    mytheme/woocommerce/checkout/thankyou.php
    mytheme/woocommerce/content-product.php
    mytheme/woocommerce/content-product_cat.php
    mytheme/woocommerce/content-single-product.php
    mytheme/woocommerce/content-widget-product.php
    mytheme/woocommerce/emails/admin-cancelled-order.php
    mytheme/woocommerce/emails/admin-failed-order.php
    mytheme/woocommerce/emails/admin-new-order.php
    mytheme/woocommerce/emails/customer-completed-order.php
    mytheme/woocommerce/emails/customer-invoice.php
    mytheme/woocommerce/emails/customer-new-account.php
    mytheme/woocommerce/emails/customer-note.php
    mytheme/woocommerce/emails/customer-on-hold-order.php
    mytheme/woocommerce/emails/customer-processing-order.php
    mytheme/woocommerce/emails/customer-refunded-order.php
    mytheme/woocommerce/emails/customer-reset-password.php
    mytheme/woocommerce/emails/email-addresses.php
    mytheme/woocommerce/emails/email-customer-details.php
    mytheme/woocommerce/emails/email-footer.php
    mytheme/woocommerce/emails/email-header.php
    mytheme/woocommerce/emails/email-order-details.php
    mytheme/woocommerce/emails/email-order-items.php
    mytheme/woocommerce/emails/email-styles.php
    mytheme/woocommerce/emails/plain/admin-cancelled-order.php
    mytheme/woocommerce/emails/plain/admin-failed-order.php
    mytheme/woocommerce/emails/plain/admin-new-order.php
    mytheme/woocommerce/emails/plain/customer-completed-order.php
    mytheme/woocommerce/emails/plain/customer-invoice.php
    mytheme/woocommerce/emails/plain/customer-new-account.php
    mytheme/woocommerce/emails/plain/customer-note.php
    mytheme/woocommerce/emails/plain/customer-on-hold-order.php
    mytheme/woocommerce/emails/plain/customer-processing-order.php
    mytheme/woocommerce/emails/plain/customer-refunded-order.php
    mytheme/woocommerce/emails/plain/customer-reset-password.php
    mytheme/woocommerce/emails/plain/email-addresses.php
    mytheme/woocommerce/emails/plain/email-customer-details.php
    mytheme/woocommerce/emails/plain/email-order-details.php
    mytheme/woocommerce/emails/plain/email-order-items.php
    mytheme/woocommerce/global/breadcrumb.php
    mytheme/woocommerce/global/form-login.php
    mytheme/woocommerce/global/quantity-input.php
    mytheme/woocommerce/global/sidebar.php
    mytheme/woocommerce/global/wrapper-end.php
    mytheme/woocommerce/global/wrapper-start.php
    mytheme/woocommerce/loop/add-to-cart.php
    mytheme/woocommerce/loop/loop-end.php
    mytheme/woocommerce/loop/loop-start.php
    mytheme/woocommerce/loop/no-products-found.php
    mytheme/woocommerce/loop/orderby.php
    mytheme/woocommerce/loop/pagination.php
    mytheme/woocommerce/loop/price.php
    mytheme/woocommerce/loop/rating.php
    mytheme/woocommerce/loop/result-count.php
    mytheme/woocommerce/loop/sale-flash.php
    mytheme/woocommerce/myaccount/dashboard.php
    mytheme/woocommerce/myaccount/downloads.php
    mytheme/woocommerce/myaccount/form-add-payment-method.php
    mytheme/woocommerce/myaccount/form-edit-account.php
    mytheme/woocommerce/myaccount/form-edit-address.php
    mytheme/woocommerce/myaccount/form-login.php
    mytheme/woocommerce/myaccount/form-lost-password.php
    mytheme/woocommerce/myaccount/form-reset-password.php
    mytheme/woocommerce/myaccount/lost-password-confirmation.php
    mytheme/woocommerce/myaccount/my-account.php
    mytheme/woocommerce/myaccount/my-address.php
    mytheme/woocommerce/myaccount/my-downloads.php
    mytheme/woocommerce/myaccount/my-orders.php
    mytheme/woocommerce/myaccount/navigation.php
    mytheme/woocommerce/myaccount/orders.php
    mytheme/woocommerce/myaccount/payment-methods.php
    mytheme/woocommerce/myaccount/view-order.php
    mytheme/woocommerce/notices/error.php
    mytheme/woocommerce/notices/notice.php
    mytheme/woocommerce/notices/success.php
    mytheme/woocommerce/order/form-tracking.php
    mytheme/woocommerce/order/order-again.php
    mytheme/woocommerce/order/order-details-customer.php
    mytheme/woocommerce/order/order-details-item.php
    mytheme/woocommerce/order/order-details.php
    mytheme/woocommerce/order/tracking.php
    mytheme/woocommerce/product-searchform.php
    mytheme/woocommerce/single-product/add-to-cart/external.php
    mytheme/woocommerce/single-product/add-to-cart/grouped.php
    mytheme/woocommerce/single-product/add-to-cart/simple.php
    mytheme/woocommerce/single-product/add-to-cart/variable.php
    mytheme/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    mytheme/woocommerce/single-product/add-to-cart/variation.php
    mytheme/woocommerce/single-product/meta.php
    mytheme/woocommerce/single-product/price.php
    mytheme/woocommerce/single-product/product-attributes.php
    mytheme/woocommerce/single-product/product-image.php
    mytheme/woocommerce/single-product/product-thumbnails.php
    mytheme/woocommerce/single-product/rating.php
    mytheme/woocommerce/single-product/related.php
    mytheme/woocommerce/single-product/review-meta.php
    mytheme/woocommerce/single-product/review-rating.php
    mytheme/woocommerce/single-product/review.php
    mytheme/woocommerce/single-product/sale-flash.php
    mytheme/woocommerce/single-product/share.php
    mytheme/woocommerce/single-product/short-description.php
    mytheme/woocommerce/single-product/tabs/additional-information.php
    mytheme/woocommerce/single-product/tabs/description.php
    mytheme/woocommerce/single-product/tabs/tabs.php
    mytheme/woocommerce/single-product/title.php
    mytheme/woocommerce/single-product/up-sells.php
    mytheme/woocommerce/single-product-reviews.php
    mytheme/woocommerce/single-product.php
    mytheme/woocommerce/taxonomy-product_cat.php
    mytheme/woocommerce/taxonomy-product_tag.php
    
    ### WC Vendors Pro ###
    
    Theme Compatability: -
    Pro Dashboard Page: - #32
    Feedback form page: - #13411
    Vendor Shop Permalink: - smiths
    
    ### Templates ###
    
    Overrides: mytheme/wc-vendors/dashboard/dashboard.php
    mytheme/wc-vendors/dashboard/nav.php
    mytheme/wc-vendors/dashboard/product-edit.php
    mytheme/wc-vendors/dashboard/store-settings.php version 1.3.3 is out of date. The core version is 1.3.7
    mytheme/wc-vendors/front/pro-vendor-list.php
    mytheme/wc-vendors/store/store-header.php
    mytheme/wc-vendors/store/store-ratings.php
    mytheme/wc-vendors/store/store-vacation-message.php
    
    : Learn how to update outdated templates
    
    #56395
    Anna
    Member

    @avishai
    First, I would ask, is there anything you have recently changed? Installed? Updated? Code added?
    Work backwards…
    Any new plugins?
    And plugin updates?

    If you do the standard debugging (deactivate all plugins except WooCommerce, WC Vendors and WC Vendors Pro)- does it work properly?
    If not, then if you temporarily switch from your theme to the Storefront Theme– does it work properly? https://wordpress.org/themes/storefront/

    Also, check that you have all dashboard pages omitted from the caching from your cache plugin.

    Please try these steps and let me know the results.

    #56583
    DELETE
    Participant

    @fervous, I disabled everything except WCV and WCV Pro, switched into Storefront, and the issue is still happening. Recently I upgraded WooCommerce from 2.6.8 -> 2.6.14, and WC Vendors Pro from 1.3.7 -> 1.3.9. What’s weird, though, is that the orders page doesn’t appear in my dev environment (with a fresh clone of production data), but does appear in the production environment.

    Even purged my WC Vendors, Pro folders from the plugin directory and reinstalled fresh. What could it be?

    #56586
    WC Vendors Support
    Participant

    Step #1: Fix any errors you currently see. mytheme/wc-vendors/dashboard/store-settings.php version 1.3.3 is out of date. The core version is 1.3.7

    Step #2: Replicate your problem: Any idea why this is happening? The Orders page is a child of Vendor Dashboard page, and contains the [wcv_orders] shortcode. Here’s the system report: The orders page is not a child of the vendor dashboard page. That is for WC Vendors FREE. Not WC Vendors PRO. For WC Vendors PRO you access /dashboard/ for the Pro Dashboard (or whatever you renamed it to) and then from there, you view orders on the PRO DASHBOARD not the FREE one.

    #56755
    DELETE
    Participant

    Hi @ben, I’ve updated any out of date templates, as well as re-installed Pro from scratch. Even while only running WC Vendors, Pro, and WooCommerce, Storefront Theme and no other plugins, I still can access all the tabs of the Pro Dashboard except “Orders”. Could it be that something got corrupted in my DB? Is there a way to re-install that page, or turn on debugging in WCVendors_Pro_Order_Controller and WCVendors_Pro_Dashboard?

    #56764
    DELETE
    Participant

    I’ve added this, to help debug, in class-wcvendors-pro-dashboard.php, after line 168:

    			error_log("------------------------------------------------------");
    			error_log("WCVendors_Pro_Dashboard Routing Debug:");
    			error_log($_SERVER['REQUEST_URI']);
    			error_log(print_r($object, true));

    The controller recognizes all of the items except the last, order:

    [19-Feb-2017] ------------------------------------------------------
    [19-Feb-2017] WCVendors_Pro_Dashboard Routing Debug:
    [19-Feb-2017] /dashboard/
    [19-Feb-2017] dashboard
    [19-Feb-2017] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent in public/wp-content/plugins/wc-vendors/class-wc-vendors.php on line 137
    [19-Feb-2017] ------------------------------------------------------
    [19-Feb-2017] WCVendors_Pro_Dashboard Routing Debug:
    [19-Feb-2017] /dashboard/product/
    [19-Feb-2017] product
    [19-Feb-2017] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent in public/wp-content/plugins/wc-vendors/class-wc-vendors.php on line 137
    [19-Feb-2017] ------------------------------------------------------
    [19-Feb-2017] WCVendors_Pro_Dashboard Routing Debug:
    [19-Feb-2017] /dashboard/settings/
    [19-Feb-2017] settings
    [19-Feb-2017] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent in public/wp-content/plugins/wc-vendors/class-wc-vendors.php on line 137
    [19-Feb-2017] ------------------------------------------------------
    [19-Feb-2017] WCVendors_Pro_Dashboard Routing Debug:
    [19-Feb-2017] /dashboard/rating/
    [19-Feb-2017] rating
    [19-Feb-2017] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent in public/wp-content/plugins/wc-vendors/class-wc-vendors.php on line 137
    [19-Feb-2017] ------------------------------------------------------
    [19-Feb-2017] WCVendors_Pro_Dashboard Routing Debug:
    [19-Feb-2017] /dashboard/shop_coupon/
    [19-Feb-2017] shop_coupon
    [19-Feb-2017] PHP Warning:  reset() expects parameter 1 to be array, null given in public/wp-content/plugins/wc-vendors-pro/public/class-wcvendors-pro-shop-coupon-controller.php on line 275
    [19-Feb-2017] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent in public/wp-content/plugins/wc-vendors/class-wc-vendors.php on line 137
    [19-Feb-2017] ------------------------------------------------------
    [19-Feb-2017] WCVendors_Pro_Dashboard Routing Debug:
    [19-Feb-2017] /dashboard/order/
    [19-Feb-2017] dashboard
    [19-Feb-2017] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent in public/wp-content/plugins/wc-vendors/class-wc-vendors.php on line 137
    #56936
    DELETE
    Participant

    @ben, @fervous after even more time debugging this, I’ve determined that for some reason (still unclear why), the Pro dashboard controller is refusing to recognize that we’re looking for the orders page. I added a hack that forces it to display the orders page based on the request URI, but the JS required to load the modal for tracking number & order details is not being loaded.

    Attached are my debugging changes — can you please look into this? It’s impossible for our site to function of vendors can’t log in and see their orders, mark them shipped and add tracking details.

    Secret gist: https://gist.github.com/avishai/78bf8035499712799fb0d91b86a0fb37

    Thanks,

    Avishai

    #64917
    Michel
    Participant

    hi @Avishai did you solve the problem? i got the same here 🙁
    Thanks!

    #64928
    Anna
    Member

    @krathos
    Which version of WC Vendors, WC Vendors Pro and WooCommerce are you using?

    #64932
    Michel
    Participant

    Is a variation order problem
    i just solve thanks to someone, i just lost the link
    But the problem is in order-controller.php lines 375,376 remplace for this

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

    works form me

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