• mngoalie

    (@mngoalie)


    I’m trying to figure out an error. When you checkout, you get a 500 error and the following fatal error is being logged.

    2020-04-23T06:26:24-05:00 CRITICAL Uncaught Error: Call to a member function get_stock_managed_by_id() on null in /home/auction/webapps/sellyourgear/wp-content/plugins/woocommerce/includes/class-wc-cart.php:696
    Stack trace:
    #0 /home/auction/webapps/sellyourgear/wp-content/plugins/woocommerce/includes/class-wc-cart.php(766): WC_Cart->get_cart_item_quantities()
    #1 /home/auction/webapps/sellyourgear/wp-content/plugins/woocommerce/includes/class-wc-cart.php(714): WC_Cart->check_cart_item_stock()
    #2 /home/auction/webapps/sellyourgear/wp-includes/class-wp-hook.php(287): WC_Cart->check_cart_items()
    #3 /home/auction/webapps/sellyourgear/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #4 /home/auction/webapps/sellyourgear/wp-includes/plugin.php(478): WP_Hook->do_action()
    #5 /home/auction/webapps/sellyourgear/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(287): do_action()
    #6 /home/auction/webapps/sellyourgear/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(800): WC_Checkout->check_cart_items()
    #7 /home/auction/ in /home/auction/webapps/sellyourgear/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 696

    I’m running woocommerce with the stripe plugin. I’ve tried it with other payment options and still get the error.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Getting 500 error when checking out’ is closed to new replies.