Home Forums WC Vendors Pro Support Error 500

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 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #34966
    Pippa
    Participant

    Hi Ben,

    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.

    #34969
    WC Vendors Support
    Participant

    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.

    #34976
    Pippa
    Participant

    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?

    #34979
    WC Vendors Support
    Participant

    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.

    #34981
    Pippa
    Participant

    I wanna be in Hawaii!!!!

    Thanks. Will do all that now πŸ™‚

    #34983
    Pippa
    Participant

    Hi Jamie,

    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.

    user: benjamie
    pword: 4cVLiPCBtARA5GYs%Usqg74f
    email: pippa@themakeupchair.com.au

    Thanks for your help

    #34984
    WC Vendors Support
    Participant

    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. πŸ™‚

    #34985
    Pippa
    Participant

    Ahh crap. sorry. Try this

    5!5vPkbSqda@!u(wkmCSx955

    #34994
    Sam Onofre
    Participant

    Hi I just bought your pro version. I am experiencing the same error. I had to rename the folder so I can access my dashboard.

    Here is my site http://visvoucher.com/
    user/pass
    tempadmin12345/Hello12345

    I used this email for the purchase sobf@tarabitab.com .

    #34996
    Sam Onofre
    Participant

    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 56

    #35005
    Alex
    Participant

    Hey Ben,

    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.

    #35010
    fabio
    Participant

    hi, help

    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 56

    #35023
    Jamie
    Keymaster

    Hello,

    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.

    https://raw.githubusercontent.com/wcvendors/wcvendors/master/classes/front/orders/class-orders.php

    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.

    cheers,

    Jamie.

    #35096
    Rishab Garg
    Participant

    Same error here, please support.

    #35098
    WC Vendors Support
    Participant

    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! πŸ™‚

    #35100
    Pippa
    Participant

    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.

    #35101
    WC Vendors Support
    Participant

    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.

    #35240
    Alex
    Participant
    #35244
    Alex
    Participant

    Hi,

    Seems user should be logged in, otherwise it always shows error.

    A

    #35272
    WC Vendors Support
    Participant

    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.

    #35437
    Alex
    Participant

    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.5

    #35449
    WC Vendors Support
    Participant

    @topnotchhttps://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.

    #35813
    Alex
    Participant

    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.

    #35835
    WC Vendors Support
    Participant

    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.

    #36162
    Alex
    Participant

    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):

    http://i.piccy.info/i9/0828a8dd8df011398c59b06f2fc641df/1467637252/60641/1035239/Screen_Shot_2016_07_04_at_4_00_29_PM.png

    http://i.piccy.info/i9/6339f3603eff12104a9a4221c4cd910f/1467637258/128077/1035239/Screen_Shot_2016_07_04_at_4_00_14_PM.png

    So, it just could be about PHP/MySQL version, right?
    Please correct me if I’m wrong.

    Thanks a lot again,
    Alex.

    #36165
    WC Vendors Support
    Participant

    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. πŸ™‚

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