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.