Hi noidoi,
I will be releasing a new version of the plugin, I’ve been promising this for a while now, but now I am already on it. I will debug this while developing
Thanks 🙂
Hi,
We replaced the lines 105 and 106 from classes/sharecount.php
$json_string = preg_replace( '/^receiveCount((.*))$/', "\1", $return_data );
$json = json_decode( $json_string, true );
with
preg_match( '/({.*})/', $return_data, $matches );
$json = json_decode( $matches[1], true );
return isset( $json['count'] ) ? intval( $json['count'] ) : 0;
and now it’s working fine.
Of course, this is not a solution (future updates), but if anyone have this issue shoud try this way.
Thank you for your useful plugin.
Hello,
You’re welcome, and yes, I found the issue and fixed it in the new version.
Thanks.