By Jerry Virgo on Thursday, 17 November 2016
Posted in Technical Issues
Likes 0
Views 261
Votes 0
My site is currently on Joomla 3.6.2 and I am upgrading to 3.6.4, however I am facing an issue with Easyblog after updating. When going to the blog page, I get this error:

0 Error decoding JSON data: Syntax error
I am not sure which database is belong to your live site.

Perhaps you can run this following sql queries into your database.

// replace #__ to your live site database table prefix
update `#__users` set `params` = '{"admin_style":""}' where `params` = '{"admin_style":""';


Note: You have to do full backup on your live site database before you run this.
·
Friday, 18 November 2016 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
The reason why you hitting this is because from Joomla 3.6.3 onwards improved validation of JSON data stored in the database (Usually as params for extensions). Unfortunately, this means that after updating, sites with invalid data can can become inaccessible.

The usual error message shown is:

0 - Error decoding JSON data: Syntax error


I suspect your #__users table contain those invalid JSON data from your database, can you provide us with your database access for your staging site so we can better have a check?

BY the way, your FTP user account seems like not link to your staging Joomla root folder.
·
Thursday, 17 November 2016 10:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the response, Arlex. I've updated the credentials with this ticket with a new FTP user with access to the staging folder (just go to the staging1 folder rather than public_html). Also I gave access to phpmyadmin. Please let me know if you need anything else.
·
Friday, 18 November 2016 01:33
·
0 Likes
·
0 Votes
·
0 Comments
·
I already help you updated those invalid JSON string to valid now, can you give it a check is it work fine now?
·
Friday, 18 November 2016 11:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Looks to be working great to me! One last thing - I've been doing some pretty heavy modifications to the site tonight and would like to just have that change applied to the production site.

Could you make that same update to the live DB? I would myself but I don't see which table you are editing from that screenshot.

I added that user I gave you with permissions to the live mysql database, so if you login in the same way you can edit it as well.
·
Friday, 18 November 2016 11:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect, you're the best Arlex! Ran that query and the site updated perfectly. Thanks so much for your help!
·
Friday, 18 November 2016 13:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Friday, 18 November 2016 14:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post