PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Moved site, and form fields are all gone!

  1. I just launched my site (routine process: switched domain and changed URLs in the database through find-and-replace), and now my long, multi-page forms are empty, showing that they contain no fields! Settings are also empty.

    I can see the fields and settings in the rg_form_meta table, but they aren't showing up.

    As an experiment , I tried exporting the forms and got the following errors:

    Warning: Invalid argument supplied for foreach() in [SERVER PATH]/wp-content/plugins/gravityforms/export.php on line 40

    Warning: Invalid argument supplied for foreach() in [SERVER PATH]/wp-content/plugins/gravityforms/export.php on line 40

    Warning: Invalid argument supplied for foreach() in [SERVER PATH]/wp-content/plugins/gravityforms/export.php on line 40

    Warning: Cannot modify header information - headers already sent by (output started at [SERVER PATH]/wp-content/plugins/gravityforms/export.php:40) in [SERVER PATH]/wp-content/plugins/gravityforms/export.php on line 165

    Warning: Cannot modify header information - headers already sent by (output started at [SERVER PATH]/wp-content/plugins/gravityforms/export.php:40) in [SERVER PATH]/wp-content/plugins/gravityforms/export.php on line 166

    Warning: Cannot modify header information - headers already sent by (output started at [SERVER PATH]/wp-content/plugins/gravityforms/export.php:40) in /[SERVER PATH]/wp-content/plugins/gravityforms/export.php on line 167

    Please please - any help will be greatly appreciated.

    Posted 8 years ago on Tuesday May 21, 2013 | Permalink
  2. Try using the meta recovery tool found here:
    http://www.gravityhelp.com/downloads/

    Posted 8 years ago on Tuesday May 21, 2013 | Permalink
  3. Thank You!

    I tried it, and was able to recover the data for only one of my three forms, the shortest. The two long ones said "This form's meta could not be recovered."

    Anything else I can try or look for?

    Posted 8 years ago on Tuesday May 21, 2013 | Permalink
  4. I would take a look at this tool here: http://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Posted 8 years ago on Tuesday May 21, 2013 | Permalink
  5. Thank you again!!

    I undid my original find-and-replace and redid it using this utility, and afterwards was able to recover the meta from one of the remaining two forms.

    That leaves one mysterious holdout.

    Looking through the sql for that form's meta data, I found a couple of instances where the # in s:#:"string contents" didn't match (including one in particular where the site URL got weirdly and obviously thrown in the wrong place) and I fixed those, but it hasn't helped.

    Is there any way to look for the sorts of things that cause these arrays to go wrong? Or to display the arrays in a table where I might be able to see the break?

    Or any other thoughts that might help.

    THANKS again (and again)! You've already saved me hours of re-building that one long form.

    Posted 8 years ago on Tuesday May 21, 2013 | Permalink
  6. I still have one corrupted form.

    Is there any way to look for the sorts of things that cause these arrays to go wrong? Or to display the arrays in a table where I might be able to see the break?

    Posted 8 years ago on Wednesday May 22, 2013 | Permalink
  7. I was able to export/import an older version of the form from a staging version of the site and am updating that instead of rebuilding from scratch.

    Thanks again for your help!

    Posted 8 years ago on Thursday May 23, 2013 | Permalink
  8. RIght on, glad we got you mostly sorted out. ;)

    Posted 8 years ago on Thursday May 23, 2013 | Permalink

This topic has been resolved and has been closed to new replies.