By Patrick Hüsler on Friday, 09 November 2018
Posted in General
Replies 3
Likes 0
Views 1.6K
Votes 0
Dear Support Team

I have a big problem. I can not access my site anymore after the update of Joomla and the following error appears:

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

Can you please have a look at this. I do not know why this error occures.

I highly appreciate you help as the situation is quite bad for me.

Best regards
Patrick
Hey there,

The reason that caused this issue out is due to your j-konnect-jproject template. Because its Json has invalid data as shown in the screenshot.

I had helped you to comment the following PHP code temporary at Json.php which is at JoomlaFolder/libraries/vendor/joomla/registry/src/Format/Json.php so that your website can work fine for now:


if ($decoded === null && json_last_error() !== JSON_ERROR_NONE)
{
throw new \RuntimeException(sprintf('Error decoding JSON data: %s', json_last_error_msg()));
}


Can you consult with your J-Konnect template Provider regarding this issue and see how it goes?
·
Friday, 09 November 2018 12:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Irwin

Excellent, this help me a lot! Thank you that you could find the source of the problem.

You are doing great things!!

Patrick
·
Friday, 09 November 2018 15:52
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome
·
Friday, 09 November 2018 16:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post