Keyword

Error decoding JSON data: Syntax error on imported items

  • Gorast
  • Gorast's Avatar Topic Author
  • Offline
  • Premium Member
More
7 years 10 months ago #158973 by Gorast
Hi,
I imported items from standard Joomla articles into K2 using built in importer and when I try to open I get

An error has occurred.
[0] Error decoding JSON data: Syntax error


Any chance I can fix this error?

Thanks,
Gorast

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 10 months ago #159013 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error decoding JSON data: Syntax error on imported items
Hello,

The check introduced in J! 3.6.4 raises this notice.
It appears that the items have illegal JSON strings saved in the DB.
It could be in the params or the extrafields.

JCE can also cause this error. If the error is not present in new items let me know so I can check the db again.

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

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

  • Gorast
  • Gorast's Avatar Topic Author
  • Offline
  • Premium Member
More
7 years 10 months ago #159027 by Gorast
I fixed the issue cleaning metadata column. Because it was export from a wordpress site it contained garbage. Now everything is ok.

Thanks,
Gorast

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 10 months ago #159034 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error decoding JSON data: Syntax error on imported items
Nice to hear that Gorast :)

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