Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34956
    Heather Spencer
    Guest

    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 15

    Trying to get property ‘post_type’ of non-object in
    home/moment72/public_html/themes/boldgrid-cobalt/base.php
    on line 15

    I’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

    #35010
    Jesse Owens
    Keymaster

    Hi 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?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘404 Page Not Found Notice on Checkout Page’ is closed to new replies.