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.

I'm pretty sure my old forms & data exist somewhere-but they appear to be gone!

  1. I accidently deleted the database of my wordpress site (a very long story). Anyhow, its been restored to a slightly corrupted state.

    I just discovered that my forms appear to be missing. My tables inside the app show the counts and remnants of what used to be there. When i go to the Entries tab I get an error message that says: Warning: Invalid argument supplied for foreach() in /home/content/k/r/y/krytus/html/CPGworks/wp-content/plugins/gravityforms/forms_model.php on line 2040. On the page where the form should be it says "Oops! We could not locate your form"

    http://www.cpgworks.com/job-seekers/registration-part-1/

    HELP!.....

    Posted 13 years ago on Tuesday March 22, 2011 | Permalink
  2. I really am desperate here. I have seven forms. I am only missing the one that has 704 entries in it. It's the same form that is linked to on almost every post in the blog.

    I'm sure if I could figure out which line was 2040 in the forms_model.php file I could probably figure it out- but oddly I don't know which line that is (they are not numbered in my editor). Likely its calling a string that is the name of the back end database file. I just need a small amount of coaching to know what to look for.

    Posted 13 years ago on Wednesday March 23, 2011 | Permalink
  3. It sounds like your data got corrupted however it was backed up or restored. This happens when however it was done can't properly handle serialized data.

    The only thing you can try is using the Meta Recovery plugin that is available on the Downloads page. Download the Meta Recovery plugin, install and activate it. It will add a Meta Recovery menu item to Gravity Forms. Navigate to it and then follow the directions, it will ask you which form you want to try and fix corrupt meta for. Do it for each form.

    Then test to see if the forms are browsable now by trying to view entries.

    If they are not, then it appears your database tables are corrupt.

    If the serialized data has been corrupted and the Meta Recovery tool can't fix it, you may be able to manually browse the Gravity Forms related tables and get to the data that way. If the data is corrupt Gravity Forms won't be able to display them properly.

    Posted 13 years ago on Wednesday March 23, 2011 | Permalink
  4. Holy smokes! I could hug you right now! Thank you!!

    Posted 13 years ago on Wednesday March 23, 2011 | Permalink
  5. It's a little secret but Carl is in fact, very huggable. We'll make sure he gets one on your behalf tomorrow.

    Posted 13 years ago on Wednesday March 23, 2011 | Permalink

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