Plugin changes JSON array structure for REST endpoints; Site Kit Incompatibility
-
Good morning,
Users of the Site Kit plugin have reported crashes in the plugin, when investigating the issue we found that it only occurs when Transliterator plugin is installed and this has been confirmed two users and via test sites.
The issue appears to be that the json_encoded output of our plugins REST endpoint, when updated, are being restructured. Arrays are instead being converted to numerically keyed objects:
"totals":[{}]
becomes:
"totals":{"0":{}}
I took a quick look at the plugin code and couldn’t immediately see where in the code this is likely to be happening. Are you able to fix this issue?
Best.
Ben
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugin changes JSON array structure for REST endpoints; Site Kit Incompatibility’ is closed to new replies.