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!
June 16, 2016 at 8:41 pm #34966
Not sure what I am doing wrong here. I keep getting redirects or error 500 when activating WC Vendors. The following is from my web designer. I know it’s unlikely to be a bug in your plugin but can’t work out why it keeps happening. I’m using Listify but deactivated everything except woocommerce and switched to Twentysixteen and still got the error 500. Also have not deleted any pages.
“I’ve also verified that the problem is caused by the WC Vendors plugin and doesn’t appear to be related to a server config error.
Here is the actual error message:
PHP Fatal error: Call to a member function get_children() on a non-object in /home/themakeu/public_html/dv/wp-content/plugins/wc-vendors/classes/front/orders/class-orders.php on line 56
This error is logged on many of your website pages (for example http://dv.themakeupchair.com.au/) whenever WC Vendors is enabled regardless of the theme installed.
(I also upgraded woocommerce just to rule that out, and disabled Wordfence to rule that out.)”
Thanks.June 16, 2016 at 8:46 pm #34969
We’ve had two other reports of this today, not sure what’s causing it and others havent replied yet. Can you share your site URL and admin user/pass? Set it as a private reply.June 16, 2016 at 9:07 pm #34976
Sure but I’ve deleted wc vendors for now while I keep working on other aspects of my site. Would you like me to re-install for you?June 16, 2016 at 9:10 pm #34979
Well, don’t delete WC Vendors. 🙂 You can deactivate it of course, but dont delete it. Keep it installed, and with the admin details to your site Jamie will hop on in a few hours and debug it, fix it, and then turn it back on for you. He’s currently in Hawaii, on a deep sea dive of some sort, so once he’s breathing non-tanked-oxygen he’ll be on this as a priority ticket. 🙂
Please do let us know the admin user/pass/site URL, as well as exact steps to replicate the problem to save him some time in trying to look for broken stuff.June 16, 2016 at 9:15 pm #34981
I wanna be in Hawaii!!!!
Thanks. Will do all that now 🙂June 16, 2016 at 11:12 pm #34983
Sorry if I’m messing with your diving time!
my site is dv.themakeupchair.com.au
I have reinstalled basic and pro but only activated basic and this time my site is completely broken. White screen!! eep!!
Before I deleted them and reinstalled them I had both installed but only Basic activated using the Listify theme. The wp-admin was working fine but if I opened the site as a customer in another browser it gave me the ‘too may redirects’ page.
I deactivated all plugins but woocommerce and wc vendors and switched to TwentySixteen then I got the Error 500
My web designer looked into it and sent the above report then deleted both basic and pro before I contacted you saying the site was broken. I have just reinstalled both and get white screen in wp-admin and ‘this page isn’t working’ on the site
I have set you up an admin but now it’s broken I’m not sure what the next step needs to be.
Thanks for your helpJune 16, 2016 at 11:16 pm #34984
Pippa: Password is incorrect. You can deactivate WC Vendors Free if you need to. But you do need to fix the password so Mr Jamie can do his debug work. 🙂June 16, 2016 at 11:36 pm #34985
Ahh crap. sorry. Try this
5!5vPkbSqda@!u(wkmCSx955June 17, 2016 at 2:35 am #34994Sam OnofreParticipantJune 17, 2016 at 3:47 am #34996Sam OnofreParticipant
This is the log error :
[17-Jun-2016 07:44:06 UTC] PHP Fatal error: Call to a member function get_children() on boolean in /home/visvouch/public_html/wp-content/plugins/wc-vendors/classes/front/orders/class-orders.php on line 56June 17, 2016 at 8:28 am #35005
I’ve just received same error on a clean WordPress + Wocommerce
Fatal error: Call to a member function get_children() on a non-object in /xxx.xxx/httpdocs/paypal/wp-content/plugins/wc-vendors/classes/front/orders/class-orders.php on line 56
I couldn’t set up Paypal Adaptive payments for ages and today tried once again:
Installed super clean WordPress + Woocommerce.
Installed WC Vendors.
Created 2 provisional vendors, each has 1 product.
Tried to test everything in sandbox mode and… FAILED. Failed on a clean WP when I tried to reach the Cart page.
Can you tell me when how or when it’ll be fixed?
Thanks.June 17, 2016 at 9:30 am #35010fabioParticipant
Fatal error: Call to a member function get_children() on a non-object in /home/interchefcom/public_html/wp-content/plugins/wc-vendors/classes/front/orders/class-orders.php on line 56June 17, 2016 at 3:07 pm #35023JamieKeymaster
Is anyone actually active to test my fix? You can test it by replacing the class-orders.php file in classes/front/orders with the following one.
This should at least stop your site from breaking, but I need to know why this is breaking as this isn’t happening on any of our test environments.
Jamie.June 18, 2016 at 4:11 pm #35096Rishab GargParticipant
Same error here, please support.June 18, 2016 at 5:43 pm #35098
WE’ve asked everyone here to test Jamie’s fix, and none of you have. If you want this fixed, step up your game and let us know the results. We cant push a fix since we cant replicate this error, so those of you that have the error, test it, let us know! 🙂June 18, 2016 at 6:55 pm #35100
Sorry Jamie and Ben,
I’m code illiterate and can’t work out exactly where i need to make the change. I can ask my designer to look at it on Monday.June 18, 2016 at 7:21 pm #35101
It’s rather easy. Create a new file with notepad, called class-orders.php. Put the content of this in the file ( https://raw.githubusercontent.com/wcvendors/wcvendors/master/classes/front/orders/class-orders.php ), and save it. Any text editor will do, as long as the file name is class-orders.php.
Then upload it to your website in /wp-content/plugins/wc-vendors/classes/front/orders/ overwriting the file that is currently there.
That’s it! Should take less than 2 minutes for anyone in this thread to test.June 21, 2016 at 5:49 am #35240
Hi there Ben,
I’ve just updated the class-orders.php file and still getting error when trying to check cart http://i.piccy.info/i9/a36d4a1805f37ee447496a529fa86e0b/1466502622/79872/1035239/Screen_Shot_2016_06_21_at_12_48_33_PM.png
Btw, here is some error notice in the WP admin
AJune 21, 2016 at 7:32 am #35244
Seems user should be logged in, otherwise it always shows error.
AJune 21, 2016 at 2:14 pm #35272
WC Vendors Free v1.9.1 was released, that should fix the 500 error entirely with get_children(). WooThemes made some ninja code insertions in v2.6.1 of WooCommerce that broke a lot of plugins checking for variations.
Update to v1.9.1, and let me know! PS — Pro v1.3.2 is also out, it isnt required to run Free v1.9.1, but if you’re updating one, update them both if you’re a Pro user.June 23, 2016 at 5:13 am #35437
I’m still getting ERR_TOO_MANY_REDIRECTS on my side when checking my-account, cart, checkout pages from not logged user.
Woocommerce 2.6.1, WC Vendors 1.9.1, WordPress 4.5.3, Twenty Fifteen theme 1.5June 23, 2016 at 10:27 am #35449
@topnotch – https://www.wcvendors.com/help/topic/err_too_many_redirects-on-vendor-dashboard/ — or, you have deleted other pages that WC Vendors or WooCommerce needs to operate. Check your WooCommerce System Status Report for pages set wrong / missing and fix them.June 29, 2016 at 7:13 am #35813
Hi there Ben,
Thanks for your response.
I’ve just checked my Woocommerce’s pages and they have only 1 shortcode per page.
About the deleted Woo’s pages, I had a quick look on System Status Report there are only couple of warning about PHP and MySQL (5.3.3 – We recommend a minimum PHP version of 5.6. and 5.1.73 – We recommend a minimum MySQL version of 5.6.), can it be a reason?
The all Woo’s pages seems to be ok and exist on the site.
Besides, I turned on debug in wp-config.php and always see this error in WP admin http://i.piccy.info/i9/5f98ceb7137a556b358273ce395e1118/1467198859/25913/1035239/Screen_Shot_2016_06_29_at_2_14_04_PM.png
Can’t understand why it happens on a fresh WordPress/default template..
Thanks a lot in advance mate.June 29, 2016 at 8:01 pm #35835
Alex: Your WooCommerce System Status Report — Anything in RED means “YOUR DEAD!” — Fix any issues you see in red, then re-test. Using old versions of PHP and MySQL will most certainly be problematic.
If you turned on debugging, and are seeing debug notices, well, that’s because you have debugging on. 🙂 You can ignore notices and warnings.
Still, I bet your pages arent set. wp-admin > wooCommerce > Settings > Accounts and wp-admin > WooCommerce > WC Vendors > Pages, Pro, Feedback all must have all pages set correctly.July 4, 2016 at 9:01 am #36162
Hi there Ben,
Sorry for taking your time, but seems all pages/settings are set (except Vendor terms page, as I understand it’s not very important):
So, it just could be about PHP/MySQL version, right?
Please correct me if I’m wrong.
Thanks a lot again,
Alex.July 4, 2016 at 10:53 am #36165
It’s probably neither of that — The problem is you have WP_DEBUG on and showing notices — which are not errors — on your front end. See https://codex.wordpress.org/Debugging_in_WordPress — Since you’ve told WordPress to show you every notice, you’re seeing some. 🙂
- The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.