JSON response assumed to be array from json_decode
A JSON style response parsed by json_decode is assumed to be array within the plugin. By default json_decode now returns objects.
$Result = @json_decode($Response);
needs to be changed to:
$Result = @json_decode($Response, true);
and the problems go away.
0
Comments
From the description:
I thank you for your contribution, but this plugin shouldn't be used in production. It hasn't been updated for nearly 4 years.
With respect, I just moved FROM the jsConnect plugin to the ProxyConnect plugin after using jsConnect in production for a few years. I found the jsConnect plugin was too clumsy and slow and was terrible at auto-login flows.
In my opinion, ProxyConnect is a better architecture and as mentioned by others in the deprecation discussion, I believe the decision to be rid of this plugin is a bad choice.
No one is required to support their software indefinitely. Luckily it is released under an open source license. Feel free to fork it and maintain it.