Keyword

0 Error decoding JSON data: Syntax Error

More
7 years 4 months ago #159135 by robert went
Replied by robert went on topic 0 Error decoding JSON data: Syntax Error
I created a script to check for potential issues. You can find it here: github.com/robwent/joomla-json-db-check

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 4 months ago #159139 by Krikor Boghossian
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Syntax Error
Nice one Robert!!
Thanks.

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

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

More
7 years 4 months ago #159161 by burnyourears
Replied by burnyourears on topic 0 Error decoding JSON data: Syntax Error
Thank you very much @smarterweb – it was the metadata, just had the same problem and could solve it.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 4 months ago #159204 by Krikor Boghossian
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Syntax Error
@Mohammed, what do need mate?
I'd love to help.

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

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

More
7 years 3 months ago #159343 by Ami Ella
Replied by Ami Ella on topic 0 Error decoding JSON data: Syntax Error
I head the same problem. deleting "{"robots":"","author":"","rights":"","xreference":""}" from the DB solved it. Thanks...

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago #159359 by Krikor Boghossian
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Syntax Error
Nice to hear that :)

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

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

More
7 years 3 months ago #159407 by Duane Mitchell
Replied by Duane Mitchell on topic 0 Error decoding JSON data: Syntax Error
Same issue here. Some articles throw the error, some don't. The k2_items metadata seems to be the culprit. I have one of 2 things in my metadata.

If I have {"robots":"","author":"","rights":"","xreference":""} then it doesn't work.

If I have the following it does work.

robots=
author=

So first I deleted the nonworking data and left it blank. That works. But then I replaced it with the working data and that seems to work.

I'm going to fix these on an as needed basis and maybe a more robust fix will arrive.

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

  • Jonathan Josué Virgen Jiménez
  • Jonathan Josué Virgen Jiménez's Avatar
  • Offline
  • New Member
More
7 years 3 months ago - 7 years 3 months ago #159436 by Jonathan Josué Virgen Jiménez
Replied by Jonathan Josué Virgen Jiménez on topic 0 Error decoding JSON data: Syntax Error
Hello, I have an issue like all of this topic, but I can access to K2 items or category (screenshot attached), I check the metadata items erasing or replacing with the correct form, I check one by one the params content with a JSON Validator and all its OK and still with the same issue. If I open a item from K2 Stats Admin I can show a line error. (screenshot attached). Can some one help me?

http://imgur.com/a/Gnq24

http://imgur.com/a/12Hg6
Last edit: 7 years 3 months ago by Jonathan Josué Virgen Jiménez. Reason: Suscribing

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

More
7 years 3 months ago #159438 by Zoe
Hello Jimenez,

I'm not an expert but your error messages are not the 0 Error decoding JSON data: Syntax Error.
They show that it is the JCE Editor component which is having problems: "...com_jce\models\editor.php
Start by checking your Site > Global Configuration > Default editor.

And please start a new topic if you have not been able to resolve it from there..

Best wishes.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago #159454 by Krikor Boghossian
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Syntax Error
Hello,
These errors are coming from the JCE editor not K2.
Disable error reporting to get rid of them.

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