- Posts: 18
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] 0 Error decoding JSON data: Control character error, possibl
[SOLVED] 0 Error decoding JSON data: Control character error, possibl
- by Alexander
-
Topic Author
- Offline
- New Member
0 Error decoding JSON data: Control character error, possibly incorrectly encoded
Where do I look for this? Is there an update for it?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Which file is throwing that error?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- by Alexander
-
Topic Author
- Offline
- New Member
- Posts: 18
Please Log in or Create an account to join the conversation.
- by Alexander
-
Topic Author
- Offline
- New Member
- Posts: 18
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
I am asking this because I cannot reproduce this behaviour using K2 2.7.1 and 2.7.2 DEV build.
It is possible that a 3rd party K2 extension is causing this issue.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
I am asking this because I cannot reproduce this behaviour using K2 2.7.1 and 2.7.2 DEV build.
It is possible that a 3rd party K2 extension is causing this issue.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- by Alexander
-
Topic Author
- Offline
- New Member
- Posts: 18
Would it help to download a fresh copy of K2 and install it again without losing stuff? Maybe a specific file is corrupt ?
This is what I typed to Gavick support:
Hi, I want to notify that K2 throws in some problems after updating Joomla (technews) 3.6.2 to 3.6.3. I asked K2 and they asked me 2 things:
1. Check error_log. (Does the template have the errorlog string attached, cause I cannot seem to find the file.)
2. Do you use a third party k2 plugin? In the backend I cannot find any.
I need to be able to reproduce the problem for them and I have 40 websites with k2. The only one that gives me the problem is the one with the odd in it, your newstech template.
The error I get as soon as I want to click on an K2 article:
0 Error decoding JSON data: Control character error, possibly incorrectly encoded
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- by Alexander
-
Topic Author
- Offline
- New Member
- Posts: 18
I do not have any clue with this and I'm pretty f*cked if this can't be solved.
1. There’s no error found in the error_log file.
2. There’s no k2 third party plugin activated
3. I’ve disabled completely K2 overriden files from TechNews template and the problem still occurs
Additional informations:
I’ve noticed that the problem occurs only on the server with PHP 7.0.x (with PHP 5.6.x there’s no problem).
K2 v.2.7.0 works properly
K2 v.2.7.1 and dev version 2.7.2 don’t work.
Please Log in or Create an account to join the conversation.
- Alex Mediosavs
-
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- by Alexander
-
Topic Author
- Offline
- New Member
- Posts: 18
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
I can see the same issue on Github github.com/joomla/joomla-cms/issues/12460 which means that is probably a core issue unrelated to K2.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- by Alexander
-
Topic Author
- Offline
- New Member
- Posts: 18
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
It will benefit a lot of users.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- by Alexander
-
Topic Author
- Offline
- New Member
- Posts: 18
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Kudos!
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alex Mediosavs
-
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- Alexander
-
- Offline
- New Member
- Posts: 2
Not actually a core issue but an issue with multiple variants such as incorrect plugin parameters and varius was for an incorrect json formated string saved in the database.
On github.com/joomla/joomla-cms/issues/12460
For a permanent sollution check the message github.com/joomla/joomla-cms/issues/12460#issuecomment-256219685
in order to actually find what parameter throws the errror and fix it. In my case it was com_users parameters so i (hacked joomla , re saved the users Settings and restored the joomla code, voilla no more errors).
Kind regards.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Lets hope a permanent fix get into the next release.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- by Alexander
-
Topic Author
- Offline
- New Member
- Posts: 18
I removed it from the aricles in the database and voila.
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] 0 Error decoding JSON data: Control character error, possibl