Title: Throwing javascript error
Last modified: February 5, 2020

---

# Throwing javascript error

 *  Resolved [Per Olsson](https://wordpress.org/support/users/styrketrappan/)
 * (@styrketrappan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/throwing-javascript-error/)
 * In WP admin, when I activate the plugin it starts throwing
    Uncaught TypeError:(
   intermediate value).setHSpace is not a function at h.<computed>.<computed>._create(
   iris.min.js?ver=1.0.7:4) at h.<computed>.<computed>.h.isFunction.a.<computed>[
   as _create] (widget.min.js?ver=1.11.4:11) at h.<computed>.<computed>._createWidget(
   widget.min.js?ver=1.11.4:11) at new h.<computed>.<computed> (widget.min.js?ver
   =1.11.4:11) at HTMLInputElement.<anonymous> (widget.min.js?ver=1.11.4:11) at 
   Function.each (jquery.js?ver=1.12.4-wp:2) at a.fn.init.each (jquery.js?ver=1.12.4-
   wp:2) at a.fn.init.h.fn.<computed> [as iris] (widget.min.js?ver=1.11.4:11) at
   h.<computed>.<computed>._create (color-picker.min.js?ver=96eb6ccd4e56675030aa9b62669d051f:
   1) at h.<computed>.<computed>.h.isFunction.a.<computed> [as _create] (widget.
   min.js?ver=1.11.4:1
 * Is it something to do with other plugins, for example PWA for WP and AMP I cannot
   use admin.

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

 *  Plugin Author [Pixelbart](https://wordpress.org/support/users/pixelbart/)
 * (@pixelbart)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/throwing-javascript-error/#post-12400884)
 * Hi [@styrketrappan](https://wordpress.org/support/users/styrketrappan/),
 * thanks for your feedback! Should be fixed with 4.2.4. The plugin is now loaded
   differently and the scripts that should only run in the dashboard now only run
   there.
 * Kevin
 *  Thread Starter [Per Olsson](https://wordpress.org/support/users/styrketrappan/)
 * (@styrketrappan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/throwing-javascript-error/#post-12401973)
 * [@pixelbart](https://wordpress.org/support/users/pixelbart/) works as a charm!
   🙂

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

The topic ‘Throwing javascript error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/helpful.svg)
 * [Helpful](https://wordpress.org/plugins/helpful/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/helpful/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/helpful/)
 * [Active Topics](https://wordpress.org/support/plugin/helpful/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/helpful/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/helpful/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Per Olsson](https://wordpress.org/support/users/styrketrappan/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/throwing-javascript-error/#post-12401973)
 * Status: resolved