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.

Form inaccessible after restore from backup

  1. I use Navicat to make backups of my site's MySQL database. I recently had to restore a backup, after which one of my Gravity Forms stopped working -- the page it is embedded on displays "Oops! We could not locate your form."

    When I try to edit the form, it appears blank.

    When I try to view the entries for the missing form:

    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/gravityforms/forms_model.php on line 2482

    When I try to export the form:

    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/gravityforms/export.php on line 34
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/gravityforms/export.php:34) in /wp-content/plugins/gravityforms/export.php on line 146
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/gravityforms/export.php:34) in /wp-content/plugins/gravityforms/export.php on line 147
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/gravityforms/export.php:34) in /wp-content/plugins/gravityforms/export.php on line 148

    When I run the meta recovery plugin:

    This form's meta could not be recovered.

    I have tried restoring a MySQL backup from when the form was working, but to no avail.

    Sounds like it could be the same as thread "Oops! We could not locate your form" issue. I'm not sure the fix, though -- the only backups I have of my database were made with Navicat.

    Posted 9 years ago on Thursday May 10, 2012 | Permalink
  2. It appears to be reproducible that restoring from a Navicat backup will munge the last Gravity Form in the database (e.g., if you have 17 forms, the 17th form and its entries will become inaccessible).

    Posted 9 years ago on Wednesday May 30, 2012 | Permalink
  3. David Peralty

    That is a strange issue. Have you contacted Navicat about this issue? You might want to use something else to backup your WordPress installations and forms until they are able to sort out their tool.

    Posted 9 years ago on Wednesday May 30, 2012 | Permalink