Title: Mini-Cart Error
Last modified: February 13, 2020

---

# Mini-Cart Error

 *  Resolved [brgreene](https://wordpress.org/support/users/brgreene/)
 * (@brgreene)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/mini-cart-error/)
 * I am getting a weird bug. Normally, when I add an item to the cart a side cart
   will appear on the page and the mini-cart will show 1 for one item in the cart.
 * The problem occurs when I leave my site and come back. The item still shows in
   the mini-cart but if you click to view the side cart appears but it is blank.
   I can go straight to the cart with the url and the item is in the cart. If I 
   add another item into the cart both items then appear in the side cart but if
   I leave and come back same problem nothing in side cart.
 * When i inspect the page i am showing the following error:
 * > Uncaught TypeError: Cannot read property ‘includes’ of undefined
   >  at HTMLDocument.
   > <anonymous> (script.min.js?wpacuversion=1581182919:1) at i (jquery.js?ver=1.12.4-
   > wp:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2) at Function.
   > ready (jquery.js?ver=1.12.4-wp:2) at HTMLDocument.J (jquery.js?ver=1.12.4-wp:
   > 2)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/mini-cart-error/#post-12437093)
 * [@brgreene](https://wordpress.org/support/users/brgreene/) thanks for reporting
   this and my apologies for the inconvenience! The error shouldn’t show up with
   the latest version of the plugin, either the Lite or Pro version. Note that this
   cart issue is there ONLY for you (the logged-in admin), not for other visitors
   as the _script.min.js_ file is used to handle the assets management in the front-
   end view (it’s irrelevant for any guest visitor).
 * If you’re a Pro user, please re-download the ZIP file and re-install the plugin.
   The latest Lite version (v1.3.5.5) should not have this issue either.

Viewing 1 replies (of 1 total)

The topic ‘Mini-Cart Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/mini-cart-error/#post-12437093)
 * Status: resolved