Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

Error decoding JSON data: Control character error, possibly incorrectly encoded

  • grakula
  • grakula
  • OFFLINE
  • Posts: 26
  • Thanks: 0
  • Karma: 0
6 years 6 months ago #304680 by grakula
Hello! When I edited the user profile from the front end, an error occurred. After that, I can not enter the profile either from the frontend or from the admin panel. There is an error Error decoding JSON data: Control character error, possibly incorrectly encoded and I throw out of the admin panel and need to login again.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 6 months ago #304695 by krileon
Please be sure to search before posting. This issue has been addressed several times. See the below for solutions.

www.joomlapolis.com/forum/single-add-on-support/237790-error-decoding-json-data-syntax-error#299165


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • grakula
  • grakula
  • OFFLINE
  • Posts: 26
  • Thanks: 0
  • Karma: 0
6 years 6 months ago #304700 by grakula
I already had this problem and I published the parameters field when editing the profile, but when I registered and displayed on the profile I hid it. In the tab of the field params I chose to hide all the options. And also in the Privacy Police tab - Edit Display - only for the group of administrators.
This is not enough? I do not want users to be able to see and change them.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 6 months ago #304702 by krileon
You made the field inaccessible. You can not do that. It must remain accessible to every user or our workaround for Joomla user store double JSON encoding won't work. Best you can do to hide it visually is to hide the fields using CSS. Another option is to hide all but the parameters that you've use for using the "Hide Parameters" under the Parameters tab while editing the params field. My recommendation is to just display the timezone field.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • grakula
  • grakula
  • OFFLINE
  • Posts: 26
  • Thanks: 0
  • Karma: 0
6 years 6 months ago #304707 by grakula
I did so, removed the restriction for displaying only to administrators and enabled the display when registering, editing and on the profile page, but nowhere the field was displayed. Also, when you try to edit or delete that user, when editing it this happens to produce the same error.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 6 months ago #304713 by krileon
The params field has to be accessible. If you can't see any of its fields it isn't accessible. Ensure the tab it is on is published and public access. Ensure the field is set to display on profile edit (doesn't have to be on registration). Do not hide it with CB Privacy or CB Conditional. You will likely need to manually fix any broken users using the below instructions.

www.joomlapolis.com/forum/255-developer-members-support/236528-0-error-decoding-json-data-syntax-error#293524


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum