• 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":{}}

    Notes here on the request.

    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)
  • Plugin Author Ivijan-Stefan Stipic

    (@ivijanstefan)

    Hello,

    Thank you for pointing this out, I didn’t know the plugin was causing these problems. Could we somehow get in touch and debug together to avoid problems and resolve?

    For first aid, you can turn off the “Force transliteration for WordPress REST API” option in the plugin, if you don’t need it.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin changes JSON array structure for REST endpoints; Site Kit Incompatibility’ is closed to new replies.