Title: Javascript Error on adding product to compare
Last modified: March 8, 2022

---

# Javascript Error on adding product to compare

 *  [michelangelobencivenga](https://wordpress.org/support/users/michelangelobencivenga/)
 * (@michelangelobencivenga)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-on-adding-product-to-compare/)
 * Hi,
    I’m developing website with your plugin installed. Console shows and js 
   error when I click on the whishlist button: Uncaught TypeError: Cannot read properties
   of undefined (reading ‘nodeType’)
 * This is the page:[https://valentina.sviluppo.host/shop-grid-right-sidebar/](https://valentina.sviluppo.host/shop-grid-right-sidebar/)

Viewing 1 replies (of 1 total)

 *  Plugin Support [Alessio Torrisi](https://wordpress.org/support/users/alessio91/)
 * (@alessio91)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-on-adding-product-to-compare/#post-15442090)
 * Hi there,
    the problem seems due to your theme. Can you try the plugin with a
   WordPress default theme and let us know if the problem persists?

Viewing 1 replies (of 1 total)

The topic ‘Javascript Error on adding product to compare’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-compare/assets/icon.svg?rev=3042935)
 * [YITH WooCommerce Compare](https://wordpress.org/plugins/yith-woocommerce-compare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-compare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-compare/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-compare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-compare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-compare/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alessio Torrisi](https://wordpress.org/support/users/alessio91/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-on-adding-product-to-compare/#post-15442090)
 * Status: not resolved