Keyword

Error on K2 2.7.0 k2.frontend.js jquery not defined

  • NUNO ALEXANDRE NOGUEIRA
  • NUNO ALEXANDRE NOGUEIRA's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 11 months ago #153995 by NUNO ALEXANDRE NOGUEIRA
Error on K2 2.7.0 k2.frontend.js jquery not defined was created by NUNO ALEXANDRE NOGUEIRA
Hello,

On some pages, I get the error:

k2.frontend.js jquery not defined


This is happening after upgrading to K2 2.7.0.

It seems this script is loaded before Jquery, thus causing the conflict.

This is breaking the page and preventing users to click "buy now" buttons and causing a lot of damage.

Can someone help?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 11 months ago #154047 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error on K2 2.7.0 k2.frontend.js jquery not defined
Hello,

This probably means that jQuery is not being loaded.
You can load jQuery from K2's parameters.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • NUNO ALEXANDRE NOGUEIRA
  • NUNO ALEXANDRE NOGUEIRA's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 11 months ago #154059 by NUNO ALEXANDRE NOGUEIRA
Replied by NUNO ALEXANDRE NOGUEIRA on topic Error on K2 2.7.0 k2.frontend.js jquery not defined
Hi,

No, that's not the problem.
The problem is the order of the scripts, including Jquery's.
Unloading JQuery from K2 and using the plugin "JQuery easy" fixed the problem. For now.
Thank you

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 11 months ago #154061 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error on K2 2.7.0 k2.frontend.js jquery not defined
Nice to hear that the issue has been resolved.
jQuery Easy is always a reliable solution.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
7 years 11 months ago - 7 years 11 months ago #154151 by Sean Carney
Replied by Sean Carney on topic Error on K2 2.7.0 k2.frontend.js jquery not defined
Nuno,

I am having this same problem and it is disabling some of my modules at my pages at www.drcarney.com/blog
The module that is broken is the one called Easy Blog Selection List.

So, I want to do whatever you did to fix this problem. It happened to me after upgrading to 2.7.0 as well.

I wondering if by "Unloading JQuery from K2" you are referring to setting the jQuery libray handling field to 'Do not load the jQuery library'?

I am wondering if there are special settings you configured with jQuery Easy. I have not used that yet and figure I will have to.

Thanks for any clues that you have.

Sean Carney
Last edit: 7 years 11 months ago by Sean Carney.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 11 months ago #154160 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error on K2 2.7.0 k2.frontend.js jquery not defined
Hello Sean,

jQuery is not being triggered correctly.
Installing jQuery Easy will solve this issue.

The other option would be to located which extension is loading jQuery, it could also be the template, block that loading and have K2 load jQuery.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
7 years 5 months ago #159317 by STEPHAN HERBY
Replied by STEPHAN HERBY on topic Error on K2 2.7.0 k2.frontend.js jquery not defined
Just a big thank to you for mentioning Jquery Easy : 6 month later this topic is still true :-)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 5 months ago #159323 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error on K2 2.7.0 k2.frontend.js jquery not defined
It's a life saver if you are using multiple extensions which load jQuery.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum