• Hi,

    I have Contact Form CFDB7, Edit CFDB7 and CFDB7 PDF Addon.

    Some submissions are not on the list, and some time when I edit submissions they disappears, with a Notice: unserialize(): Error at offset error.

    I lost a lot of data, but the missing submissions are still in the database.

    I think the plugin don’t clean the content and it’s corrupt the database.
    It’s a serious problem that puts me in a very delicate situation with my client.

    How can I fix, clean the database and get my submissions back?

    Thanks,

    — G

Viewing 1 replies (of 1 total)
  • Hi,

    In the “Contact Form CFDB7” I solved it by adding code like below.

    contact-form-cfdb7/inc/export-csv.php at line 121:

    if($resultTmp == false){
      $tmp = preg_replace_callback('!s:(\d+):"([\s\S]*?)";!', function($m) {return 's:' . strlen($m[2]) . ':"' . $m[2] . '";';}, $result->form_value);
      $resultTmp = unserialize($tmp);
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Serialization errors and losts submissions’ is closed to new replies.