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.
Thank you to all of our customers!
- This topic has 46 replies, 9 voices, and was last updated 6 years, 5 months ago by
Anna.
-
AuthorPosts
-
April 16, 2017 at 2:59 am #62076
Daman
ParticipantAfter 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.
April 16, 2017 at 6:55 pm #62120Mircea
ParticipantIf it is true, it does not appear. Any solution?
April 16, 2017 at 8:07 pm #62122Anna
MemberHello,
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.April 16, 2017 at 8:13 pm #62123Daman
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.April 16, 2017 at 8:24 pm #62124Anna
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.April 16, 2017 at 11:19 pm #62150Aaron
ParticipantI believe I have the same issue on the pro dashboard.
April 17, 2017 at 6:04 am #62175Oluwatosin
Participantsame with me. plus free shipping coupon not working as it should – not removing shipping costs.
My orders page is fine for now though. ThxApril 17, 2017 at 10:09 am #62191Anna
MemberHello,
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!April 18, 2017 at 1:27 am #62278Jamie
KeymasterHello,
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.
April 18, 2017 at 2:10 am #62280Jamie
KeymasterHello,
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.
April 18, 2017 at 2:20 am #62282Jamie
KeymasterHello,
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.
April 18, 2017 at 6:14 am #62289Mircea
ParticipantHi, 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?
ThanksApril 18, 2017 at 11:52 am #62303Anna
MemberHello,
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 withhttps://gist.github.com/fervous/a36601ba3416173b474ef6dc3ca12679
April 19, 2017 at 12:42 am #62364Daman
ParticipantOrders 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?
April 19, 2017 at 3:18 pm #62424Anna
MemberHello,
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-62403April 19, 2017 at 5:36 pm #62444Oluwatosin
ParticipantHi,
> 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.
April 19, 2017 at 6:05 pm #62452Anna
Member@bargainwebb
Were you using the WC Vendors test gateway, or another payment processor/payment method at checkout?April 19, 2017 at 6:13 pm #62456Oluwatosin
ParticipantWC Vendor Test Gateway
April 19, 2017 at 6:16 pm #62459Oluwatosin
ParticipantSame error on your demo site – see attached screenshot
April 19, 2017 at 10:44 pm #62477Daman
ParticipantConfirmed, it’s throwing 500 server error on checkout.
Paypal checkout works though but Credit/Debit cards throw 500 error.April 19, 2017 at 10:55 pm #62481Anna
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?
April 19, 2017 at 11:03 pm #62485April 19, 2017 at 11:08 pm #62487Arik
ParticipantI have the same error massage on my website after updating. :/
April 19, 2017 at 11:11 pm #62489Daman
ParticipantThere 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 @digitalchildApril 19, 2017 at 11:16 pm #62492Anna
Member@ariktwena
Which Gateway are you using?
@daman
Are you using Stripe Commission & Gateway v1.0.5?April 19, 2017 at 11:18 pm #62493Anna
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.
April 19, 2017 at 11:20 pm #62494April 20, 2017 at 3:44 am #62518Jamie
KeymasterHello,
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.
April 20, 2017 at 4:16 am #62520Oluwatosin
ParticipantSorted.
April 20, 2017 at 4:23 am #62524Oluwatosin
ParticipantHello Jamie, Checkout sorted. But vendor new order notification not showing shipping costs.
April 20, 2017 at 6:17 am #62530Jamie
KeymasterHello,
That’s a free issue. Will look into that now.
cheers,
Jamie.
April 20, 2017 at 6:27 am #62532Oluwatosin
ParticipantThanks. 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.April 20, 2017 at 6:50 am #62533Oluwatosin
Participanthi, 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
April 20, 2017 at 3:26 pm #62553Anna
Member@BARGAINWEBB
Are you using just Vendor Shipping?April 20, 2017 at 3:33 pm #62556Oluwatosin
ParticipantAre 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
April 21, 2017 at 8:54 am #62626Oluwatosin
ParticipantHello, please note i’m awaiting assistance on the shipping cost not showing in the vendor new order email?
April 21, 2017 at 7:23 pm #62665Anna
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.April 23, 2017 at 2:42 pm #62832Oluwatosin
ParticipantThank you. Please I hope I get a solution soon…on-hold here
April 24, 2017 at 2:50 pm #62949Oluwatosin
ParticipantHello,
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.
July 1, 2017 at 11:23 am #69257shima
ParticipantIs there any solution to this? I’m getting this issue since about a month ago I think. Blank dashboard and blank orders page.
July 1, 2017 at 3:27 pm #69262Yasa
ParticipantThis 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.
July 2, 2017 at 8:14 pm #69307Anna
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: StorefrontIf 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?
July 3, 2017 at 10:46 am #69368Yasa
ParticipantHi @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()
July 3, 2017 at 6:12 pm #69395Anna
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?
July 3, 2017 at 6:24 pm #69399Yasa
Participant@fervous,
Sorry I forgot to mention, yes still using Social Marketplace. And yes I deactivated all plugins and installed storefront, result was same.July 3, 2017 at 6:49 pm #69402Yasa
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.
July 3, 2017 at 7:18 pm #69408Anna
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. -
AuthorPosts
- The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.