• Resolved Harsh Shah

    (@harsh4094)


    After Product selected when I click on Add to cart no products are displayed in cart. It’s an error message that Your Cart is Empty.

    So I have just enabled define(‘WP_DEBUG’, false); And I get this notice.

    Notice: category_ids was called incorrectly. Product properties should not be accessed directly.
    Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/blossom-feminine/single-product.php’), WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information.
    (This message was added in version 3.0.) in /var/www/html/wp-includes/functions.php on line 4148

    Can anyone help me?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there!

    Thanks for that error/notification message! It looks like your theme is having trouble – can you please temporarily switch to the [Twenty Seventeen](https://ww.wp.xz.cn/themes/twentyseventeen/) theme and see if it works correctly? If it does, I recommend reaching out to the Blossom-Feminine theme developer.

    If that doesn’t help, you’ll want to disable all plugins except for WooCommerce and then check to see if the cart is working. If so, slowly re-enable the plugins until you find the one causing the problems.

    This could also very well be a caching problem, as that’s typical of this kind of behavior. In that case, please disable any kind of caching you have enabled on your site and check again. You may need to contact your host to disable it at server level.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Disaster to have an empty cart error after customer have loaded it. I keep reading that the solution to every problem is to switch to the Twenty17 Theme. Lame. How about fixing WP and WOO.

    • This reply was modified 7 years, 4 months ago by WKP.

    Having the same empty cart problem and remains unresolved.

    Running Divi and Woo and WP 5.0.2 and PHP 7.2 and keep getting the first product added to the cart truncated and the cart returning empty. Then adding the product again suddenly I have both items in the cart. HELP!

    Going to Shopify.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Empty cart error’ is closed to new replies.