- Posts: 5
COMMUNITY FORUM
0 Error decoding JSON data: Syntax Error
- robert went
- Offline
- New Member
Less
More
8 years 1 week 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
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 1 week ago #159139
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Syntax Error
Nice one Robert!!
Thanks.
Thanks.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- burnyourears
- Offline
- Senior Member
Less
More
- Posts: 66
8 years 1 week 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
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 1 week ago #159204
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic 0 Error decoding JSON data: Syntax Error
@Mohammed, what do need mate?
I'd love to help.
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.
- Ami Ella
- Offline
- New Member
Less
More
- Posts: 2
8 years 1 day 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
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 11 months ago #159359
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
- Duane Mitchell
- Offline
- New Member
Less
More
- Posts: 1
7 years 11 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.
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
- Offline
- New Member
Less
More
- Posts: 2
7 years 11 months ago - 7 years 11 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
http://imgur.com/a/Gnq24
http://imgur.com/a/12Hg6
Last edit: 7 years 11 months ago by Jonathan Josué Virgen Jiménez. Reason: Suscribing
Please Log in or Create an account to join the conversation.
- Zoe
- Topic Author
- Offline
- New Member
Less
More
- Posts: 13
7 years 11 months ago #159438
by Zoe
Replied by Zoe on 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.
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
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 11 months ago #159454
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
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.