Thứ Hai, 18 tháng 9, 2017

Joomla 3.x admin json error SOLVED

Description: Joomla backend save article, module, or config view issue "0 - Error decoding JSON data"
The reason: param at database {} break quote.
This many reason from many table. So need view error.

Step #1:
Here https://forum.joomla.org/viewtopic.php?f=706&t=937036 on Oct 19 the user ibrentlam offered the following solution:

The error is pulled in the file:
/libraries/vendor/joomla/registry/src/Format/Json.php`
line 72
I changed it to:
throw new \RuntimeException(sprintf('Error decoding JSON data: %s the bad data is: %s', json_last_error_msg(), $data));
so I could actually see the data.

Step #2: reload joomla admin BackEnd, view detail data error view
Step #3: backup database before edit, find data to know: table name, row id.
Step #4: Focus at column PARAM, check {} quote