Jquery loading problem after update

3 years 3 months ago #322362 by timstohr
Jquery loading problem after update was created by timstohr
Hi Kyle,
I have updated CB today and I am getting this:

Uncaught TypeError: s.event.addProp is not a function
at Object.s.event.fix (jquery.migrate.min.j…=563642b4e20c0468:1)
at HTMLDocument.dispatch (jquery.min.js:2)
at HTMLDocument.v.handle (jquery.min.js:2)
s.event.fix @ jquery.migrate.min.j…=563642b4e20c0468:1
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2

All the links point towards components/comprofiler etc...

The error started appearing on all my sites (they share common PHP but different DBs).

Please Log in to join the conversation.

3 years 3 months ago #322363 by krileon
Replied by krileon on topic Jquery loading problem after update
Looks like you've CBs jQuery turned off, but you left its jQuery migrate on. Enable CBs jQuery within CB > Configuration > Integrations and turn off jQuery migrate. CB is now on latest jQuery 3.5.1.


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 to join the conversation.

3 years 3 months ago #322365 by timstohr
Replied by timstohr on topic Jquery loading problem after update
Gets worse...

jquery-3.5.1.min.js?v=563642b4e20c0468:1 Uncaught TypeError: Cannot read property 'loader' of undefined
at HTMLDocument.<anonymous> ((index):366)
at e (jquery-3.5.1.min.js?v=563642b4e20c0468:1)
at t (jquery-3.5.1.min.js?v=563642b4e20c0468:1)
(anonymous) @ (index):366
e @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
t @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
setTimeout (async)
S.readyException @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
(anonymous) @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
e @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
t @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
setTimeout (async)
(anonymous) @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fire @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
t @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
setTimeout (async)
(anonymous) @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fire @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
ready @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
_ @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
jquery-3.5.1.min.js?v=563642b4e20c0468:1 Uncaught TypeError: $(...).cbgallery is not a function
at HTMLDivElement.<anonymous> ((index):378)
at Function.each (jquery-3.5.1.min.js?v=563642b4e20c0468:1)
at S.fn.init.each (jquery-3.5.1.min.js?v=563642b4e20c0468:1)
at HTMLDocument.<anonymous> ((index):378)
at e (jquery-3.5.1.min.js?v=563642b4e20c0468:1)
at t (jquery-3.5.1.min.js?v=563642b4e20c0468:1)
(anonymous) @ (index):378
each @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
each @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
(anonymous) @ (index):378
e @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
t @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
setTimeout (async)
S.readyException @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
(anonymous) @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
e @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
t @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
setTimeout (async)
(anonymous) @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fire @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
t @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
setTimeout (async)
(anonymous) @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fire @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
ready @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
_ @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
jquery-3.5.1.min.js?v=563642b4e20c0468:1 Uncaught TypeError: Cannot read property 'defaults' of undefined
at HTMLDocument.<anonymous> ((index):394)
at e (jquery-3.5.1.min.js?v=563642b4e20c0468:1)
at t (jquery-3.5.1.min.js?v=563642b4e20c0468:1)
(anonymous) @ (index):394
e @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
t @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
setTimeout (async)
S.readyException @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
(anonymous) @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
e @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
t @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
setTimeout (async)
(anonymous) @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fire @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
t @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
setTimeout (async)
(anonymous) @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fire @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
u @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
fireWith @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
ready @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
_ @ jquery-3.5.1.min.js?v=563642b4e20c0468:1
jquery-3.5.1.min.js?v=563642b4e20c0468:1

Please Log in to join the conversation.

3 years 3 months ago - 3 years 3 months ago #322366 by timstohr
Replied by timstohr on topic Jquery loading problem after update
Euh, it now autorepaired 25 minutes after I had changed it back around (jquery inactive, Jquery migrate inactive), checked that the problem still existed, had dinner and didnt touch anything at the website. No idea what happened. I am going to have a look tomorrow again...

EDIT: Just confirmed that even on my very old template rt-iridescent that switching off BOTH Jquery and jquery migrate gets rid of the problem.

Please Log in to join the conversation.

3 years 3 months ago #322368 by krileon
Replied by krileon on topic Jquery loading problem after update
Where are you seeing this exactly? If possible please PM backend super administrator login credentials with instructions to duplicate your issue and will take a look. We've tested all our products and core CB with the new jQuery and appears working fine in our tests. It's also working fine on our demo site. It's possible there's a conflict somewhere that we've yet to find.


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 to join the conversation.

3 years 3 months ago #322418 by krileon
Replied by krileon on topic Jquery loading problem after update
Have reviewed your install. There's a lot going on with the JS on your site causing some conflicts. CBs jQuery is compatible with v2 and v3 so just leave CBs jQuery turned off since you've another means of loading jQuery currently.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.447 seconds

Facebook Twitter LinkedIn