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.

Problem when migrating gravity forms to a new domain

  1. The following errors occur when we migrate the gravity form to a new domain.

    Warning: Invalid argument supplied for foreach() in /home/sitehomo/public_html/wp-content/themes/quickhost/functions.php on line 76

    Warning: Invalid argument supplied for foreach() in /home/sitehomo/public_html/wp-content/plugins/gravityforms/form_display.php on line 764

    Warning: Invalid argument supplied for foreach() in /home/sitehomo/public_html/wp-content/plugins/gravityforms/form_display.php on line 147

    We are using updraft backup plugin. After the migration we use a script to change the domain name (in the database) to the new one. (ex: http://olddomainname.com.br to http://newdomainname.com.br) . The other types of forms continue to work, but the "Order forms" (the ones with pricing fields and steps) shows the error described above.

    Thanks in advance for your help!

    Posted 10 years ago on Tuesday May 28, 2013 | Permalink
  2. Have you tried using the Meta Recovery tool yet? You can find it at the bottom of the page here. Most of the time that solves problems encountered in migrations or changing domains.

    http://www.gravityhelp.com/downloads/

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  3. Thanks for the answer. It seems this is the problem.
    How do I use this Meta Recovery tool?
    Is there any information about how to use it?

    Thanks in advance.

    Posted 10 years ago on Friday May 31, 2013 | Permalink