Keyword

"$K2 is not defined" issue

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 1 month 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.

More
4 years 1 month ago #177012 by JoomlaWorks
Replied by JoomlaWorks 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.

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

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 1 month 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.

More
4 years 1 month ago #177017 by JoomlaWorks
Replied by JoomlaWorks 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...

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

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 1 month 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
4 years 1 month 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.

More
4 years 1 month ago #177023 by JoomlaWorks
Replied by JoomlaWorks on topic "$K2 is not defined" issue
Because some optimizer plugin (or a CDN cache) may be refreshed at such intervals.

Fotis / 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