• Resolved libertyfrank

    (@libertyfrank)


    Hello!

    I have two CF7 forms on my website. One of them is working just fine– submitting messages with no error message at all. The other is WORKING fine, but after the message is submitted a banner pops up at at the top of the screen reading:
    Warning: Invalid argument supplied for foreach() in /home/adashmoreadmin/public_html/tinyhomes/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php on line 576

    I have tried deactivating, deleting, and reinstalling, but the error message keeps cropping up. Can you provide any assistance with this? Apart from this one error, my site is ready to launch.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    The other is WORKING fine, but after the message is submitted a banner pops up at at the top of the screen reading:
    Warning: Invalid argument supplied for foreach() in /home/adashmoreadmin/public_html/tinyhomes/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php on line 576

    are you using the sub-form functionality on this form?

    Thread Starter libertyfrank

    (@libertyfrank)

    No, I don’t think so. The second form (with the error message) was copied from the original form, so all the fields are the same, I just needed to make a different form so it had different styling. Should I be using the sub-form in this instance?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    you don’t have to, but that would be one way to maintain more easily both forms if they are identical.

    You setup 1 form and include it as a sub-form in your 2nd form. This way each time you update the 1st form the 2nd one will also get updated (the fields that is) while the styling can be different using css.

    Anyhow, that still doesn’t explain the bug you’re having. So I just release v1.5.2 with an extra validation. Let me know it is fixes your issue.

    Thread Starter libertyfrank

    (@libertyfrank)

    Wow! Thank you so much! A super fast response and an update to fix my problem? You’re the best! Everything is working well now.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    You’re welcome.
    Consider posting a review of your experience?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘“Invalid argument on line 576’ is closed to new replies.