ultramel1987
ultramel1987

Reputation: 91

Woocommerce Checkout Errors

I am having some issues with my woocommerce store. Clients are experiencing trouble when checking out. They fill in all the required fields, and check the t’s & c’s – but then receive a ‘blank woocommerce error’ showing only a red exclamation mark with no error message.

I have tried the checkout from my end and am able to place orders, however many clients are having this problem.

Here are the ‘fatal errors’ in my woocommerce log:

2021-02-03T02:07:38+00:00 CRITICAL Uncaught Exception: Invalid product. in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:166
Stack trace:
#0 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product))
#1 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(135): WC_Data_Store->read(Object(WC_Product))
#2 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce-time-based-pricing/classes/com/WCTBP_Cart.php(42): WC_Product->__construct(2991)
#3 /usr/www/users/cherrfqzxc/wp-includes/class-wp-hook.php(287): WCTBP_Cart->cart_add_to_validation(true, 2991, 1, '', Array)
#4 /usr/www/users/cherrfqzxc/wp-includes/plugin.php(212): WP_Hook->apply_filters(true, Array)
#5 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(902): apply_filters('woocommerce_add...', true, 2991, 1, '', Array)
#6 /usr/www/users/cherrfqzxc/ in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 166

2021-02-03T02:13:39+00:00 CRITICAL Uncaught Exception: Invalid product. in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:166
Stack trace:
#0 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product))
#1 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(135): WC_Data_Store->read(Object(WC_Product))
#2 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce-time-based-pricing/classes/com/WCTBP_Cart.php(42): WC_Product->__construct(3024)
#3 /usr/www/users/cherrfqzxc/wp-includes/class-wp-hook.php(287): WCTBP_Cart->cart_add_to_validation(true, 3024, 1, '', Array)
#4 /usr/www/users/cherrfqzxc/wp-includes/plugin.php(212): WP_Hook->apply_filters(true, Array)
#5 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(902): apply_filters('woocommerce_add...', true, 3024, 1, '', Array)
#6 /usr/www/users/cherrfqzxc/ in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 166

2021-02-03T02:27:02+00:00 CRITICAL Uncaught Exception: Invalid product. in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:166
Stack trace:
#0 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product))
#1 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(135): WC_Data_Store->read(Object(WC_Product))
#2 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce-time-based-pricing/classes/com/WCTBP_Cart.php(42): WC_Product->__construct(2999)
#3 /usr/www/users/cherrfqzxc/wp-includes/class-wp-hook.php(287): WCTBP_Cart->cart_add_to_validation(true, 2999, 1, '', Array)
#4 /usr/www/users/cherrfqzxc/wp-includes/plugin.php(212): WP_Hook->apply_filters(true, Array)
#5 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(902): apply_filters('woocommerce_add...', true, 2999, 1, '', Array)
#6 /usr/www/users/cherrfqzxc/ in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 166

2021-02-03T05:18:25+00:00 CRITICAL Uncaught Exception: Invalid product. in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:166
Stack trace:
#0 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product))
#1 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(135): WC_Data_Store->read(Object(WC_Product))
#2 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce-time-based-pricing/classes/com/WCTBP_Cart.php(42): WC_Product->__construct(3066)
#3 /usr/www/users/cherrfqzxc/wp-includes/class-wp-hook.php(287): WCTBP_Cart->cart_add_to_validation(true, 3066, 1, '', Array)
#4 /usr/www/users/cherrfqzxc/wp-includes/plugin.php(212): WP_Hook->apply_filters(true, Array)
#5 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(902): apply_filters('woocommerce_add...', true, 3066, 1, '', Array)
#6 /usr/www/users/cherrfqzxc/ in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 166

2021-02-03T07:28:12+00:00 CRITICAL Uncaught Exception: Invalid product. in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:166
Stack trace:
#0 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product))
#1 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(135): WC_Data_Store->read(Object(WC_Product))
#2 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce-time-based-pricing/classes/com/WCTBP_Cart.php(42): WC_Product->__construct(3066)
#3 /usr/www/users/cherrfqzxc/wp-includes/class-wp-hook.php(287): WCTBP_Cart->cart_add_to_validation(true, 3066, 1, '', Array)
#4 /usr/www/users/cherrfqzxc/wp-includes/plugin.php(212): WP_Hook->apply_filters(true, Array)
#5 /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(902): apply_filters('woocommerce_add...', true, 3066, 1, '', Array)
#6 /usr/www/users/cherrfqzxc/ in /usr/www/users/cherrfqzxc/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 166

I have :

Is the problem being caused purely by Woocommerce, or by the theme, or a conflict between Woocommerce and the theme?

Link to Site

Upvotes: 1

Views: 1095

Answers (1)

Jeffrey de Jong
Jeffrey de Jong

Reputation: 11

Those things can happen, as far as I can see it is a product that is invalid, have you checked the information about the product and did you use normal characters in the information when you made the product?

If everything is correct maybe check the database, and see if the product that you have added has all the right values in the database, if so maybe a rollback to the previous version of Woocommerce will fix the problem.

Let me know,

Jeff

Upvotes: 1

Related Questions