- Posts: 2
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- ncaught TypeError: $K2(...).accordion is not a function
ncaught TypeError: $K2(...).accordion is not a function
- Alessandro Battezzati
- Topic Author
- Offline
- New Member
Less
More
6 years 10 months ago #166301
by Alessandro Battezzati
ncaught TypeError: $K2(...).accordion is not a function was created by Alessandro Battezzati
Joomla 3.8.2
K2 2.8.0
When i try to save a k2 content in administration, the javascript error is:
Uncaught TypeError: $K2(...).accordion is not a function
at HTMLDocument.<anonymous> (k2.backend.js:403)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.K (jquery.min.js:2)
Any idea ? Conflict with jQuery ? Compatibility version problem ?
Thanks in advance,
regards
K2 2.8.0
When i try to save a k2 content in administration, the javascript error is:
Uncaught TypeError: $K2(...).accordion is not a function
at HTMLDocument.<anonymous> (k2.backend.js:403)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.K (jquery.min.js:2)
Any idea ? Conflict with jQuery ? Compatibility version problem ?
Thanks in advance,
regards
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 10 months ago #166305
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic ncaught TypeError: $K2(...).accordion is not a function
Hello there,
Is jQuery UI being loaded?
You can force load it in K2's settings.
Is jQuery UI being loaded?
You can force load it in K2's settings.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alessandro Battezzati
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
6 years 10 months ago #166317
by Alessandro Battezzati
Replied by Alessandro Battezzati on topic ncaught TypeError: $K2(...).accordion is not a function
In k2 settings actually we are loading jQuery 1.12.4.
Screenshot
imgur.com/a/GsDuh
Are there other places/panel where we can set the jQueryUI library ?
thanks
Screenshot
imgur.com/a/GsDuh
Are there other places/panel where we can set the jQueryUI library ?
thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 10 months ago #166322
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic ncaught TypeError: $K2(...).accordion is not a function
Are you using any 3rd party K2 extensions?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Roland
- Offline
- Junior Member
Less
More
- Posts: 24
6 years 5 months ago - 6 years 5 months ago #168121
by Roland
Replied by Roland on topic ncaught TypeError: $K2(...).accordion is not a function
Hello,
i got this error also. I changed before all lines in the admin/helper/html.php and commented all cloudflare lines out!
According GDPR i only want to get no external loads on frontend, so i only have to comment out following lines: 99, 237, 244 & 287
No it works again...
Based on current available K2
i got this error also. I changed before all lines in the admin/helper/html.php and commented all cloudflare lines out!
According GDPR i only want to get no external loads on frontend, so i only have to comment out following lines: 99, 237, 244 & 287
No it works again...
Based on current available K2
Last edit: 6 years 5 months ago by Roland.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 5 months ago #168147
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic ncaught TypeError: $K2(...).accordion is not a function
Hello,
These are JS files loaded through a CDN. Most JS libs distribute their code through that CDN cdnjs.com/libraries/jquery/
This will not break your GDPR compliance. These are by no means tracking scripts.
These are JS files loaded through a CDN. Most JS libs distribute their code through that CDN cdnjs.com/libraries/jquery/
This will not break your GDPR compliance. These are by no means tracking scripts.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- ncaught TypeError: $K2(...).accordion is not a function