Since upgrading to WP 4.2.2, I have the following error in one of my js file :
Uncaught TypeError: jQuery(...).select2 is not a function
I google the issue and it seems that this can happen when several jquery are loaded.
However, looking in the different plugins, and in my theme, I found out that several plugins (and my theme) do wp_enqueue_script of select2.js, none of them with the same version (3.1 to 3.5.2).
So my questions :
- is this normal that each plugins has its own version ?
- what could be the issue for the original error : Uncaught TypeError: jQuery(...).select2 is not a function ?
Thanks for your help