Support » Plugin: Easy Social Share Buttons » Undefined offset: 1 Connecting to VK

  • hello, since VK is blocked in our country, I get the following error output in my blog posts:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Failed to connect to vk.com port 443: Connection refused
    Notice: Undefined offset: 1 in ..\wp-content\plugins\easy-social-share-buttons3\lib\core\share-counters\essb-counter-update.php on line 352
    Connection timed out after 5000 milliseconds
    Notice: Undefined offset: 1 in ..\wp-content\plugins\easy-social-share-buttons3\lib\core\share-counters\essb-counter-update.php on line 335
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Can you please fix this!?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ivan Privalov

    (@ivanpr)

    Something like:
    if(is_array($shares))
    return (int)$shares[ 1 ];

    Would fix it…

    Plugin Author Idiom

    (@brianbrey)

    Hi Ivan,

    It looks like this error belongs to another, similarly named plugin. Our plugin does not have a “essb-counter-update.php” file. Sorry!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined offset: 1 Connecting to VK’ is closed to new replies.