• Resolved Kirk Wight

    (@kwight)


    Version 1.6.1 on trunk is giving a PHP error notice:

    Notice: unserialize(): Error at offset 0 of 95 bytes in /Users/kwight/Sites/trunk/src/wp-content/plugins/keyring/includes/stores/singlestore.php on line 170

    It looks like get_token() in singlestore.php is sometimes getting passed id as an array rather than an integer, but I couldn’t figure out where it was coming from.

    array(2) { ["type"]=> string(6) "access" ["id"]=> array(1) { [0]=> int(2998) } }

    https://wordpress.org/plugins/keyring/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Is this during any sort of connection/disconnection process? A specific service? Any more information you can provide?

    Thread Starter Kirk Wight

    (@kwight)

    I’ve been working with the Eventbrite service, but after deleting and reconnecting the Keyring connection, I can’t replicate. Boo, but yay.

    Was it perhaps an old connection from before this version was fully released or something? If it was something from a while ago, the way credentials are handled changed in 1.4, so perhaps it was related to that.

    Thread Starter Kirk Wight

    (@kwight)

    Hm, I had just updated the plugin, but from 1.6.0. And when I think about it, yes, it was an existing connection.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP notice for unserialize() in singlestore.php’ is closed to new replies.