Title: js error
Last modified: December 12, 2016

---

# js error

 *  Resolved [Artem Komarov](https://wordpress.org/support/users/artemkomarov/)
 * (@artemkomarov)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/js-error-52/)
 * Hi, thanks for a great plugin. After update up to v.2. demos are not importing
   due to js error
 * `TypeError: data.set is not a function. (In 'data.set( 'action', 'ocdi_import_customizer_data')','
   data.set' is undefined) main.js:284`
 * have tested it on the local and shared hosting and the result is the same.

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

 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/js-error-52/#post-8543278)
 * Hi,
 * that’s strange… I’ve never had this issue before and I’ve tested the plugin quite
   extensively…
 * Do you have a modified version of our plugin, because the `data` should always
   be defined in our version.
 * Can you maybe send me the URL and the login details to your test site, (FTP access
   would also be great). My email is: capuderg [at] gmail.com
 * Take care!
 *  Thread Starter [Artem Komarov](https://wordpress.org/support/users/artemkomarov/)
 * (@artemkomarov)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/js-error-52/#post-8543400)
 * no I did not modify any plugin’s functions.
    sent you a login information to 
   email
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/js-error-52/#post-8544159)
 * Hi,
 * I see what the issue is, Safari does not support the JS functions that I use 
   in the plugin. I will solve this as soon as possible.
 * Take care!
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/js-error-52/#post-8544911)
 * Hi,
 * The issue should be fixed in the version 2.0.1. Could you please verify that?
 * Thank you for reporting this bug!
 * Have a nice day/night! 🙂
 *  Thread Starter [Artem Komarov](https://wordpress.org/support/users/artemkomarov/)
 * (@artemkomarov)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/js-error-52/#post-8545472)
 * Hello,
 * Thank you, now it works perfectly.
 * Regards
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/js-error-52/#post-8546217)
 * Great! 🙂
 * Thanks again for reporting this bug!

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

The topic ‘js error’ is closed to new replies.

 * ![](https://ps.w.org/one-click-demo-import/assets/icon-256x256.png?rev=2506685)
 * [One Click Demo Import](https://wordpress.org/plugins/one-click-demo-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/one-click-demo-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/one-click-demo-import/)
 * [Active Topics](https://wordpress.org/support/plugin/one-click-demo-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/one-click-demo-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/one-click-demo-import/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/js-error-52/#post-8546217)
 * Status: resolved