• Resolved Juanzo

    (@jmzolezzi)


    Hello Nextend team,
    Using Query Monitor, we found a PHP error when using the plugin:

    Plugin: nextend-facebook-connect
    unserialize(): Error at offset 2 of 2320 bytes
    wp-includes/functions.php:650

    Any idea on how to debug or review why this happens?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @jmzolezzi!

    Your error points to this code part:

    return @unserialize( trim( $data ) );

    within the maybe_unserialize() function of WordPress. So most likely the problem is that, something modified the serialized data in your database and that messed up the data so it can no longer be unserialized.

    This can usually occur when you migrate your site, and you have plugins that modify the certain strings in the database ( e.g. domain names ). If these plugins modify the strings in the serialized data without unserializing it first and then serializing it again, then the data will become invalid and WordPress won’t be able to unserialize them anymore.

    Unfortunatelly, your error doesn’t point on the code part where the maybe_unserialize() function gets called, but if you turn on the error reporting on your site, in your wp-config.,php:

    and you trigger the problem once again, then an error log should be generated, that should contain the call stack of the error. Once you have the error log, please send it to us over the ticket system here:

    and we will figure out if this is the case or not.

    Best regards,
    Laszlo.

Viewing 1 replies (of 1 total)
  • The topic ‘unserialize: Error at offset’ is closed to new replies.