Title: Getting 500 error when checking out
Last modified: April 23, 2020

---

# Getting 500 error when checking out

 *  [mngoalie](https://wordpress.org/support/users/mngoalie/)
 * (@mngoalie)
 * [6 years ago](https://wordpress.org/support/topic/getting-500-error-when-checking-out/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-500-error-when-checking-out%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Carike](https://wordpress.org/support/users/carike/)
 * (@carike)
 * [6 years ago](https://wordpress.org/support/topic/getting-500-error-when-checking-out/#post-12719940)
 * Hallo there 🙂
 * Please post your question in the WooCommerce support forum:
    [https://wordpress.org/support/plugin/woocommerce/](https://wordpress.org/support/plugin/woocommerce/)
   The community over there are the best-equipped to assist you with your issue.

Viewing 1 replies (of 1 total)

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

## Tags

 * [checkout](https://wordpress.org/support/topic-tag/checkout/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Carike](https://wordpress.org/support/users/carike/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/getting-500-error-when-checking-out/#post-12719940)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
