Add to cart and checkout problem
-
Hi! I have a problem whereby I am only able to add to cart when I am logged in. I had my settings for guest checkout enabled but it still doesn’t work. Under the system status it also stated in red that my page does not contain the woocommerce cart and checkout shortcodes / blocks but there is.
System Status for cart and checkout pages :
Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.Here’s the fatal error log that I found in my logs tab :
2022-09-19T20:38:55+00:00 CRITICAL Uncaught Error: Call to undefined function wc_empty_cart() in /home/customer/www/themonoline.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php:372 Stack trace: #0 /home/customer/www/themonoline.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(363): WC_Session_Handler->forget_session() #1 /home/customer/www/themonoline.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(99): WC_Session_Handler->destroy_session() #2 /home/customer/www/themonoline.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(71): WC_Session_Handler->init_session_cookie() #3 /home/customer/www/themonoline.com/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(857): WC_Session_Handler->init() #4 /home/customer/www/themonoline.com/public_html/wp-content/plugins/woocommerce-payments/includes/multi-currency/MultiCurrency.php(916): WooCommerce->initialize_session() #5 /home/customer/www/ in /home/customer/www/themonoline.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php on line 372
Any advice or solution to this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Add to cart and checkout problem’ is closed to new replies.