Support » Plugin: WooCommerce Stripe Payment Gateway » fatal error with Call to a member function get_manage_stock()

  • Resolved lifeisgood134



    I encountered this error on my web store. After deactivate Stripe, the error is gone. Pls help to check

    Fatal error: Uncaught Error: Call to a member function get_manage_stock() on string in /home/customer/www/ Stack trace: #0 /home/customer/www/ rosa2_add_label_to_availability_display(Array) #1 /home/customer/www/ WP_Hook->apply_filters(Array, Array) #2 /home/customer/www/ apply_filters(‘woocommerce_get…’, Array, Object(WC_Product_Variation)) #3 /home/customer/www/ WC_Product->get_availability() #4 /home/customer/www/ wc_get_stock_html(Object(WC_Product_Variation)) #5 /home/customer/www/ in /home/customer/www/ on line 536

    There has been a critical error on this website.

Viewing 1 replies (of 1 total)
  • Hi @lifeisgood134

    Thanks for reaching out!

    I understand that you are receiving the error log above on your site and deactivating Stripe resolved the issue, correct?

    This is quite strange as the the error logs above are pointing to your theme, Rosa2. I am not seeing any stack trace related to Stripe.

    For us to verify the root cause of the issue, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if this works?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    If this did not resolve the issue, please share your System Status Report, that will help us further troubleshoot.

    You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    You could copy and paste your reply here or paste it via and send the link here.

    Let us know how it goes!

Viewing 1 replies (of 1 total)
  • The topic ‘fatal error with Call to a member function get_manage_stock()’ is closed to new replies.