Title: Cannot read property &#8216;addClass&#8217;
Last modified: December 4, 2019

---

# Cannot read property ‘addClass’

 *  Resolved [Yebach](https://wordpress.org/support/users/yebach/)
 * (@yebach)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/cannot-read-property-addclass/)
 * Hello
 * I am using Variation Swatches for WooCommerce, version 1.0.68 and when editing
   a page in avada theme builder, I am getting and error and cannot save any edits.
   If I disable plugin it all works ok.
 * Uncaught TypeError: Cannot read property ‘addClass’ of undefined
    at a.<computed
   >.<computed>.close (color-picker.min.js?ver=5.3:1) at a.<computed>.<computed>.
   close (widget.min.js?ver=1.11.4:11) at a.<computed>.<computed>.d [as close] (
   load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3:2)
   at HTMLInputElement.<anonymous> (widget.min.js?ver=1.11.4:11) at Function.each(
   load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3:2)
   at a.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,
   utils&ver=5.3:2) at a.fn.init.a.fn.<computed> [as wpColorPicker] (widget.min.
   js?ver=1.11.4:11) at HTMLInputElement.<anonymous> (fusion-builder.js?ver=2.1.2:
   1) at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,
   utils&ver=5.3:2) at a.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-
   core,jquery-migrate,utils&ver=5.3:2)
 * thank you
 * best regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-read-property-addclass%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Cannot read property ‘addClass’’ is closed to new replies.

 * ![](https://ps.w.org/woo-variation-swatches/assets/icon-256x256.gif?rev=3157951)
 * [Variation Swatches for WooCommerce](https://wordpress.org/plugins/woo-variation-swatches/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-variation-swatches/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-variation-swatches/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-variation-swatches/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-variation-swatches/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-variation-swatches/reviews/)

 * 0 replies
 * 2 participants
 * Last reply from: [Yebach](https://wordpress.org/support/users/yebach/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/cannot-read-property-addclass/)
 * Status: resolved