[SOLVED] 0 Error decoding JSON data Syntax Error - upon user confirmation email linkclick
- cpaschen
- OFFLINE
- Posts: 327
- Thanks: 42
- Karma: 9
7 years 5 months ago - 7 years 5 months ago #288534
by cpaschen
[SOLVED] 0 Error decoding JSON data Syntax Error - upon user confirmation email linkclick was created by cpaschen
On one site where we have CB installed, for all new uses when they click on the confirmation email link they are getting:
0 Error decoding JSON data Syntax Error
If you click on the link a 2nd time in the email it works and the user is confirmed.
Attached is a copy of the call stack from that error page (with error reporting on).
We have modified the "Pending Email Body" area, and it includes the following line for the link:
<p><a href="[CONFIRM]">[CONFIRM]</a></p>
Any ideas what might be causing this?
0 Error decoding JSON data Syntax Error
If you click on the link a 2nd time in the email it works and the user is confirmed.
Attached is a copy of the call stack from that error page (with error reporting on).
We have modified the "Pending Email Body" area, and it includes the following line for the link:
<p><a href="[CONFIRM]">[CONFIRM]</a></p>
Any ideas what might be causing this?
Last edit: 7 years 5 months ago by krileon. Reason: Added [SOLVED] tag to subject
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68605
- Thanks: 9108
- Karma: 1434
7 years 5 months ago #288564
by krileon
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.
Replied by krileon on topic 0 Error decoding JSON data Syntax Error - upon user confirmation email linkclick
It's a Joomla bug. See the below for a fix.
www.joomlapolis.com/forum/153-professional-member-support/235097-0-error-decoding-json-data-syntax-error?start=6#287431
Not sure how it's happening for a new user though. Are you displaying any of the params fields (e.g. language, editor, etc..) during registration?
www.joomlapolis.com/forum/153-professional-member-support/235097-0-error-decoding-json-data-syntax-error?start=6#287431
Not sure how it's happening for a new user though. Are you displaying any of the params fields (e.g. language, editor, etc..) during registration?
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.
- cpaschen
- OFFLINE
- Posts: 327
- Thanks: 42
- Karma: 9
7 years 5 months ago #288602
by cpaschen
Replied by cpaschen on topic 0 Error decoding JSON data Syntax Error - upon user confirmation email linkclick
Thanks for posting that reference to the other ticket.
Although I agree that it isn't completely 'logical' that existing data in the params field would cause a problem, we did have a 'different' user-manager extension installed on this site and it looks like it must have messed up the params area.
We just used the query to replace all the params with "{}" (which is fine, because we don't allow users to change those), and it's all working properly now.
Thanks.
Although I agree that it isn't completely 'logical' that existing data in the params field would cause a problem, we did have a 'different' user-manager extension installed on this site and it looks like it must have messed up the params area.
We just used the query to replace all the params with "{}" (which is fine, because we don't allow users to change those), and it's all working properly now.
Thanks.
The following user(s) said Thank You: krileon
Please Log in or Create an account to join the conversation.
Moderators: beat, nant, krileon