Keyword

[SOLVED] 0 Error decoding JSON data: Control character error, possibl

  • by Alexander
  • by Alexander's Avatar Topic Author
  • Offline
  • New Member
More
8 years 1 month ago #158670 by by Alexander
HI, after upgrading Joomla 3.6.2 to 3.6.3 I get this error when I want to edit a k2 article or make a new one.

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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 1 month ago #158686 by Krikor Boghossian
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Control character error, possibl
Can you try disabling error reporting?
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
  • by Alexander's Avatar Topic Author
  • Offline
  • New Member
More
8 years 1 month ago #158710 by by Alexander
Error reporting is off. Here is a screenshot.

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

  • by Alexander
  • by Alexander's Avatar Topic Author
  • Offline
  • New Member
More
8 years 1 month ago - 8 years 1 month ago #158711 by by Alexander
Last edit: 8 years 1 month ago by by Alexander.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 1 month ago #158716 by Krikor Boghossian
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Control character error, possibl
Can you check on your error_log which file is throwing the error?
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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 1 month ago #158717 by Krikor Boghossian
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Control character error, possibl
Can you check on your error_log which file is throwing the error?
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
  • by Alexander's Avatar Topic Author
  • Offline
  • New Member
More
8 years 1 month ago #158735 by by Alexander
I use a template from Gavick, and I do not use any thirdparty k2 extensions. I only enabled K2 and K2 system plugin and the problem still is there.

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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 1 month ago #158737 by Krikor Boghossian
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Control character error, possibl
Hello,

You can try installing the DEV version github.com/getk2/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
  • by Alexander's Avatar Topic Author
  • Offline
  • New Member
More
8 years 1 month ago #158742 by by Alexander
This is a message from Robert Gavick. However, the php version I use is NOT PHP 7.0+, I use PHP 5.5.32.

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.

More
8 years 1 month ago #158756 by Alex Mediosavs
Hello, I have the same problem, this happened when you upgrade joomla 3.6.3 and k2 2.7.1

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


Powered by Kunena Forum