Title: uncaught typeerror undefined is not a function
Last modified: August 22, 2016

---

# uncaught typeerror undefined is not a function

 *  Resolved [karljv](https://wordpress.org/support/users/karljv/)
 * (@karljv)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-undefined-is-not-a-function-5/)
 * jQuery(document).ready(function(){
    jQuery(“.a-product-image”).colorbox({transition:‘
   elastic’, initialWidth: 200, maxWidth: ‘90%’, maxHeight: ‘90%’, rel:’gal’}); });
 * This gives me an “uncaught typeerror: undefined is not a function”
 * I have included jQuery and after that colorbox. Any idea what is causing this?
 * [https://wordpress.org/plugins/ecommerce-product-catalog/](https://wordpress.org/plugins/ecommerce-product-catalog/)

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

 *  Thread Starter [karljv](https://wordpress.org/support/users/karljv/)
 * (@karljv)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-undefined-is-not-a-function-5/#post-5175416)
 * The problem was that jQuery was loaded 2 times on the page.
 *  Plugin Author [ndre](https://wordpress.org/support/users/ndre/)
 * (@ndre)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-undefined-is-not-a-function-5/#post-5175450)
 * Yes, you should never load jQuery manually because WordPress has [function](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)
   for it.

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

The topic ‘uncaught typeerror undefined is not a function’ is closed to new replies.

 * ![](https://ps.w.org/ecommerce-product-catalog/assets/icon-128x128.png?rev=1103243)
 * [eCommerce Product Catalog Plugin for WordPress](https://wordpress.org/plugins/ecommerce-product-catalog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ecommerce-product-catalog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ecommerce-product-catalog/)
 * [Active Topics](https://wordpress.org/support/plugin/ecommerce-product-catalog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ecommerce-product-catalog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ecommerce-product-catalog/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [ndre](https://wordpress.org/support/users/ndre/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-undefined-is-not-a-function-5/#post-5175450)
 * Status: resolved