Title: Uncaught TypeError: e.garlic is not a function
Last modified: December 17, 2024

---

# Uncaught TypeError: e.garlic is not a function

 *  Resolved [Humaniza](https://wordpress.org/support/users/humaniza/)
 * (@humaniza)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/uncaught-typeerror-e-garlic-is-not-a-function/)
 * After updating Woocommerce and the rest of related plugins, the checkout page
   started to throw a javascript error preventing que checkout to complete.
 * Uncaught TypeError: e.garlic is not a function
 * checkoutwc-front-1.1.12.min.js:1:109489
 * [https://staging3.semon.es/wp-content/plugins/checkoutwc-lite/assets/dist/js/checkoutwc-front-1.1.12.min.js?ver=1.1.12:1](https://staging3.semon.es/wp-content/plugins/checkoutwc-lite/assets/dist/js/checkoutwc-front-1.1.12.min.js?ver=1.1.12:1)
 * PS. It’s the only javascript error that this page shows, so it seems to not be
   related to a general failure loading jquery etc.
 * > [View post on imgur.com](https://imgur.com/8PS6EGU)
    -  This topic was modified 1 year, 5 months ago by [Humaniza](https://wordpress.org/support/users/humaniza/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-typeerror-e-garlic-is-not-a-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Clifton Griffin](https://wordpress.org/support/users/clifgriffin/)
 * (@clifgriffin)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/uncaught-typeerror-e-garlic-is-not-a-function/#post-18206717)
 * This error indicates that you are loading jQuery twice on the page – most often
   we see this in custom themes. It’s a common mistake that misguided devs make.
 * You should always use the version of jQuery built-in to WordPress – loading your
   own from a CDN or elsewhere will cause problems as plugins expect the specific
   version shipped with WP.
 *  Thread Starter [Humaniza](https://wordpress.org/support/users/humaniza/)
 * (@humaniza)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/uncaught-typeerror-e-garlic-is-not-a-function/#post-18208431)
 * Hi, it was not jQuery loading twice, but you put me in the correct way.
 * In case this is useful to someone else, I amb using the DIVI theme, and for it
   to work, in the DIVI settings, I had to disable the option “Aplazar(Defer) jQuery
   and jQuery migrate”
 * Then it worked again. thank you.

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

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

 * ![](https://ps.w.org/checkoutwc-lite/assets/icon.svg?rev=2819219)
 * [CheckoutWC Lite](https://wordpress.org/plugins/checkoutwc-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/checkoutwc-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/checkoutwc-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/checkoutwc-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/checkoutwc-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/checkoutwc-lite/reviews/)

## Tags

 * [divi](https://wordpress.org/support/topic-tag/divi/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 3 replies
 * 2 participants
 * Last reply from: [Humaniza](https://wordpress.org/support/users/humaniza/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/uncaught-typeerror-e-garlic-is-not-a-function/#post-18208431)
 * Status: resolved