Title: Uncaught TypeError: clone is not a function
Last modified: August 24, 2020

---

# Uncaught TypeError: clone is not a function

 *  Resolved [plalor](https://wordpress.org/support/users/plalor/)
 * (@plalor)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-clone-is-not-a-function/)
 * Hi,
    I updated to version 1.9.0 and had an Issue with some date pickers on one
   of my pages on multiple web browsers, [https://retrogaming.ie/shop/snes-rental/](https://retrogaming.ie/shop/snes-rental/)(
   I’ll probably have the plugin deactivated or rolled back but let me know if you
   want me to try reproduce), where I couldn’t select a date from the date pickers.
   Woocommerce Product Images on the same page were also not showing. I was getting
   the below errors referring to two different plugins I am using, “Autoptimize”
   and “WooCommerce Rental & Booking System”. When I deactivate your plugin the 
   error went away. When I roll back to version 1.8.9 and clear cache the problem
   also goes away. Not sure why or if something odd is going on and maybe it has
   nothing to do with you guys but said I’d give you a shout anyway. Thanks, Peter
 * Uncaught TypeError: clone is not a function
    at Object.calendarInit [as init](
   autoptimize_single_c8b4ee404450020684c753dfd6de5af9.js:6) at HTMLDocument.<anonymous
   > (autoptimize_single_d91da596564b033c00f886f49d2c8a2b.js:20) at i (jquery.js:
   2) at Object.fireWith [as resolveWith] (jquery.js:2) at Function.ready (jquery.
   js:2) at HTMLDocument.J (jquery.js:2)
 * Uncaught TypeError: clone is not a function
    at Object.calendarInit [as init](
   rnb-calendar.js:123) at HTMLDocument.<anonymous> (main-script.js:394) at i (jquery.
   js:2) at Object.fireWith [as resolveWith] (jquery.js:2) at Function.ready (jquery.
   js:2) at HTMLDocument.J (jquery.js:2)
    -  This topic was modified 5 years, 8 months ago by [plalor](https://wordpress.org/support/users/plalor/).
      Reason: including extra info
    -  This topic was modified 5 years, 8 months ago by [plalor](https://wordpress.org/support/users/plalor/).
      Reason: more info
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-typeerror-clone-is-not-a-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-clone-is-not-a-function/#post-13320267)
 * Hi [@plalor](https://wordpress.org/support/users/plalor/),
 * Please activate version 1.9.0 so that we can check the issue.
 *  Thread Starter [plalor](https://wordpress.org/support/users/plalor/)
 * (@plalor)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-clone-is-not-a-function/#post-13321332)
 * Hi, that’s upgraded now. Please let me know when you are finished checking as
   it’s my live site. See [https://retrogaming.ie/shop/snes-rental/](https://retrogaming.ie/shop/snes-rental/)
   for Issues with date and time pickers and Product Images.
 *  Thread Starter [plalor](https://wordpress.org/support/users/plalor/)
 * (@plalor)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-clone-is-not-a-function/#post-13324935)
 * Sorry I’ve had to disable this again. Let me know if there’s a time window that
   you need it for testing.
    Thanks
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-clone-is-not-a-function/#post-13326441)
 * Hi [@plalor](https://wordpress.org/support/users/plalor/),
 * We have identified the issue and it is a conflict with another plugin in the 
   site. It will be fixed in the next update of our plugin.
 *  Thread Starter [plalor](https://wordpress.org/support/users/plalor/)
 * (@plalor)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-clone-is-not-a-function/#post-13330550)
 * great, thanks!
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-clone-is-not-a-function/#post-13390742)
 * Hi [@plalor](https://wordpress.org/support/users/plalor/),
 * The fixed version is live. Please update to v1.9.1. Also, make sure to clear 
   the cache after the update.

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

The topic ‘Uncaught TypeError: clone is not a function’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

## Tags

 * [clone](https://wordpress.org/support/topic-tag/clone/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [typeerror](https://wordpress.org/support/topic-tag/typeerror/)
 * [uncaught](https://wordpress.org/support/topic-tag/uncaught/)

 * 6 replies
 * 2 participants
 * Last reply from: [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-clone-is-not-a-function/#post-13390742)
 * Status: resolved