Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bishoy.A

    (@bishoya)

    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 ??

    Thread Starter fii.digital

    (@noidoi)

    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.

    Plugin Author Bishoy.A

    (@bishoya)

    Hello,

    You’re welcome, and yes, I found the issue and fixed it in the new version.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pinterest not counting’ is closed to new replies.