Keyword

"$K2 is not defined" issue

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
3 weeks 4 days ago #177007 by Uzi
"$K2 is not defined" issue was created by Uzi
I think there may be an issue with this version of K2. Because I have the same issue. I need to reinstall K2 every day because I get an error

$K2 is not defined.

When I reinstall the componetn it works again. But for some reason I have to do this every single day. Does anyone know how this happens?

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 4 days ago #177012 by Fotis
Replied by Fotis on topic "$K2 is not defined" issue
If you get this error it probably means your JS is badly concatenated in the frontend, that's why things break.

Disable any such optimizations (probably via a 3rd party Joomla plugin) and test again.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
3 weeks 4 days ago #177014 by Uzi
Replied by Uzi on topic "$K2 is not defined" issue
Hi Fotis, this is a backend issue not a frontend issue.

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 4 days ago #177017 by Fotis
Replied by Fotis on topic "$K2 is not defined" issue
Same thing. The concatenation may come from somewhere else though, e.g. CloudFlare. Or there's a JS conflict with another plugin or something.

In any case, the browser's console is your friend...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
3 weeks 4 days ago #177020 by Uzi
Replied by Uzi on topic "$K2 is not defined" issue
Ok I will try to see if the console gives me anything. I reinstalled Joomla again, and also disabled some plugins. I will update again tomorrow see if the issue arises again.

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
3 weeks 4 days ago #177021 by Uzi
Replied by Uzi on topic "$K2 is not defined" issue
Any idea though why the issue arises every day?

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 4 days ago #177023 by Fotis
Replied by Fotis on topic "$K2 is not defined" issue
Because some optimizer plugin (or a CDN cache) may be refreshed at such intervals.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum