Tagged: WooCommerce
- AuthorPosts
- March 15, 2021 at 12:44 pm #34956Heather SpencerGuest
Hi,
I just started getting a # 404 Page Not Found Notice on my Woocommerce Checkout Page only when the cart is empty. I checked with my host provider and they gave me these error codes.Trying to get property ‘post_type’ of non-object in
home/moment72/public_html/themes/boldgrid-cobalt/base.php
on line 15Trying to get property ‘post_type’ of non-object in
home/moment72/public_html/themes/boldgrid-cobalt/base.php
on line 15I’ve deactivated all the plugins, and no change. I’ve resaved the permalinks, cleaned out the cache etc. but still getting the error.
Can someone give me an idea how to solve this ?
Thank you
March 15, 2021 at 2:58 pm #35010Jesse OwensKeymasterHi Heather-
Thanks for reaching out, I’m sorry to hear about the issue you’re having with the Cobalt WordPress theme.
The error messages you’re seeing are just warnings, and shouldn’t be causing that 404. Generally speaking, if there aren’t any items in the cart, the checkout page should show a notice that the “Checkout is not available whilst your cart is empty” and then redirect back to main shop page.
I checked out your site, and it seems like that’s what is happening for you. Were you already able to solve this on your own?
- AuthorPosts
- The topic ‘404 Page Not Found Notice on Checkout Page’ is closed to new replies.