Skip to Content Skip to Menu

Problem with select2

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 3 months ago #306210 by timstohr
Problem with select2 was created by timstohr
Hi Kyle,
I am getting some weird error on my mobile template.

It has something to do with Select2 (highlighted below). This error just started appearing...


TypeError: Cannot set property 'migrateVersion' of undefined
at 855b15.js:1
at 855b15.js:1
855b15.js:1 TypeError: Cannot read property 'fn' of undefined
at 855b15.js:1
at 855b15.js:1
855b15.js:2 TypeError: Cannot set property 'cbconfirm' of undefined
at 855b15.js:2
at 855b15.js:2
855b15.js:10 TypeError: Cannot read property 'ui' of undefined
at 855b15.js:2
at 855b15.js:2
at 855b15.js:2
855b15.js:10 TypeError: Cannot read property 'event' of undefined
at 855b15.js:10
at 855b15.js:10
at 855b15.js:10
at 855b15.js:10
855b15.js:10 TypeError: Cannot read property 'support' of undefined
at 855b15.js:10
at 855b15.js:10
855b15.js:10 TypeError: Cannot read property 'ajaxTransport' of undefined
at 855b15.js:10
at 855b15.js:10
at 855b15.js:10
855b15.js:10 TypeError: Cannot read property 'support' of undefined
at 855b15.js:10
at 855b15.js:10
at 855b15.js:10
855b15.js:10 TypeError: e is not a function
at 855b15.js:10
at 855b15.js:10
at 855b15.js:10
855b15.js:10 TypeError: Cannot read property 'fn' of undefined
at 855b15.js:10
at 855b15.js:10
855b15.js:10 TypeError: e is not a function
at 855b15.js:10
at 855b15.js:10
at 855b15.js:10
855b15.js:10 TypeError: Cannot read property 'fn' of undefined
at 855b15.js:10
at 855b15.js:10
855b15.js:10 TypeError: Cannot read property 'widget' of undefined
at 855b15.js:10
at 855b15.js:10
855b15.js:10 Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page.
(anonymous) @ 855b15.js:10
i @ 855b15.js:10
$ @ 855b15.js:10
i @ 855b15.js:10
$ @ 855b15.js:10
s @ 855b15.js:10
(anonymous) @ 855b15.js:12
(anonymous) @ 855b15.js:10
(anonymous) @ 855b15.js:10
855b15.js:12 TypeError: Cannot read property 'fn' of undefined
at 855b15.js:12
at i (855b15.js:10)
at $ (855b15.js:10)
at Object.s [as require] (855b15.js:10)
at 855b15.js:12
at 855b15.js:10
at 855b15.js:10
855b15.js:12 TypeError: Cannot read property 'fn' of undefined
at 855b15.js:12
at 855b15.js:12
855b15.js:12 TypeError: Cannot read property 'extend' of undefined
at 855b15.js:12
at 855b15.js:12
at 855b15.js:12
855b15.js:12 TypeError: Cannot set property 'scrollTo' of undefined
at 855b15.js:12
at 855b15.js:12
at 855b15.js:12
855b15.js:12 TypeError: Cannot read property 'validator' of undefined
at 855b15.js:12
at 855b15.js:12
855b15.js:12 TypeError: e is not a function
at 855b15.js:12
at 855b15.js:12
855b15.js:12 TypeError: Cannot read property 'fn' of undefined
at 855b15.js:12
at 855b15.js:12
855b15.js:12 TypeError: Cannot read property 'fn' of undefined
at 855b15.js:12
at 855b15.js:12
855b15.js:12 TypeError: Cannot set property 'rateit' of undefined
at 855b15.js:12
at 855b15.js:12
9884-annakurniva?device=mobile:9 Uncaught TypeError: cbjQuery is not a function
at 9884-annakurniva?device=mobile:9
(anonymous) @ 9884-annakurniva?device=mobile:9
6ed67c.js:227 Uncaught TypeError: jfbcJQuery is not a function
at Object.init (6ed67c.js:227)
at 9884-annakurniva?device=mobile:38
init @ 6ed67c.js:227
(anonymous) @ 9884-annakurniva?device=mobile:38
9884-annakurniva?device=mobile:45 Uncaught TypeError: cbjQuery is not a function
at 9884-annakurniva?device=mobile:45

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 3 months ago #306212 by krileon
Replied by krileon on topic Problem with select2
The errors are all coming from cached compressed files. You need to be purging cache every time you update anything on your site since you've some sort of compression extension installed.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 3 months ago #306219 by timstohr
Replied by timstohr on topic Problem with select2
Cleared everything, everywhere I could. No can do anywhere at all. Does community builder have any caching functions?

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 3 months ago #306220 by timstohr
Replied by timstohr on topic Problem with select2
Any other ideas? Which component introduced a changed in select2?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 3 months ago #306228 by krileon
Replied by krileon on topic Problem with select2
CB does not include any header caching or compressing. Check within your Joomla template or if you've something like JCH Optimizer as you'll likely need to clear their cache within their settings. Latest CB build updated select2 to improve its accessibility.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum