• Hi, i do program with DEBUG set to trye to catch all errors, when saving a GF i get the following E_NOTICE error


    Error: Array to string conversion
    File: contact-form-7-to-database-extension\CFDBIntegrationGravityForms.php
    Line: 121

    118 case 'list' :
    119 $list = unserialize($entry[$fieldId]);
    120 if ($list) {
    121 $postedData[$fieldName] = implode('|', array_values($list));

    For now i did solve this error by replacing line 121 with the following:


    $postedData[$fieldName] = '';
    foreach ($list as $k => $v) {
    $postedData[$fieldName] .= is_array( $v ) ? implode('|', $v) : $v . '|';
    }

    https://wordpress.org/plugins/contact-form-7-to-database-extension/

Viewing 1 replies (of 1 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    I don’t see your line 121 in the latest version of the plugin code. I think this is already fixed. Please update and try.

Viewing 1 replies (of 1 total)
  • The topic ‘Gravity Form data not saving when DEBUG set to True’ is closed to new replies.