Keyword

0 Error decoding JSON data: Syntax Error

More
1 year 9 months ago #159135 by robert went
robert went replied the 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.

More
1 year 9 months ago #159139 by Krikor Boghossian
Krikor Boghossian replied the topic: 0 Error decoding JSON data: Syntax Error
Nice one Robert!!
Thanks.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
1 year 9 months ago #159161 by burnyourears
burnyourears replied the 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.

More
1 year 9 months ago #159204 by Krikor Boghossian
Krikor Boghossian replied the topic: 0 Error decoding JSON data: Syntax Error
@Mohammed, what do need mate?
I'd love to help.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
1 year 8 months ago #159343 by Ami Ella
Ami Ella replied the 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.

More
1 year 8 months ago #159359 by Krikor Boghossian
Krikor Boghossian replied the topic: 0 Error decoding JSON data: Syntax Error
Nice to hear that :)

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
1 year 8 months ago #159407 by Duane Mitchell
Duane Mitchell replied the 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
1 year 8 months ago - 1 year 8 months ago #159436 by Jonathan Josué Virgen Jiménez
Jonathan Josué Virgen Jiménez replied the 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: 1 year 8 months ago by Jonathan Josué Virgen Jiménez. Reason: Suscribing

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

More
1 year 8 months ago #159438 by Zoe
Zoe replied the topic: 0 Error decoding JSON data: Syntax Error
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.

More
1 year 8 months ago #159454 by Krikor Boghossian
Krikor Boghossian replied the 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.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

Moderators: william white