- Posts: 140
COMMUNITY FORUM
"$K2 is not defined" issue
- Uzi
-
Topic Author
- Offline
- Premium Member
Less
More
4 years 7 months 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?
$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.
- JoomlaWorks
-
- Offline
- Admin
Less
More
- Posts: 6227
4 years 7 months 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.
Disable any such optimizations (probably via a 3rd party Joomla plugin) and test again.
Please Log in or Create an account to join the conversation.
- Uzi
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 140
4 years 7 months 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.
- JoomlaWorks
-
- Offline
- Admin
Less
More
- Posts: 6227
4 years 7 months 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...
In any case, the browser's console is your friend...
Please Log in or Create an account to join the conversation.
- Uzi
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 140
4 years 7 months 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
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 140
4 years 7 months 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.
- JoomlaWorks
-
- Offline
- Admin
Less
More
- Posts: 6227
4 years 7 months 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.
Please Log in or Create an account to join the conversation.