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.

Admin Notification Email Routing

  1. Using 1.7.2 with MailChimp Add-On.

    I receive this warning on form submission:

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

    I have conditional email routing setup, so the email address is conditional on a <select> field.

    running var_dump($logic); in evaluate_conditional_logic() gives:
    string(9) "undefined"

    Posted 11 years ago on Wednesday May 1, 2013 | Permalink
  2. This is a non-issue.

    I mistakenly had the "Enable conditional logic" checkbox checked (without any using any logic in the message) and mistook its warning as being related to conditional email routing.

    Note that this mis-configuration and subsequent warning caused emails to not go out.

    Posted 11 years ago on Wednesday May 1, 2013 | Permalink
  3. I have the same issue: Warning: Invalid argument supplied for foreach() in .....wp-content/plugins/gravityforms/common.php on line 4727

    http://www.quaack.nl/gottasing/aanmeldformulier/

    I removed the conditional logic from a formfiel. No fields have conditional logic, but I still get this error.

    How do I solve this problem?

    Thanks
    Sheila

    Posted 11 years ago on Friday May 3, 2013 | Permalink
  4. Do you have the "Enable conditional logic" checkbox checked in your form notifications?

    Posted 11 years ago on Friday May 3, 2013 | Permalink
  5. Thanks! In the Notifications the "Enable conditional logic" checkbox was checked.
    After uncheck, problem solved

    Posted 11 years ago on Friday May 3, 2013 | Permalink
  6. Kok Kee Ng
    Member

    I think this is an upgrade issue.

    I had problems with email notifications not being sent out when upgrading from 1.6 to 1.7 and it turns out that every notification had the Conditional Logic option checked after the upgrade.

    Posted 11 years ago on Monday May 6, 2013 | Permalink