Multipage forms with more than one email field throw error
-
Hey there! This is a very similar issue to https://www.ads-software.com/support/topic/blacklist-plugin-breaks-multipage-form/.
Like the user in the linked thread, my client’s form is a multipage form that breaks when the Email Blacklist plugin is used. Unlike the user in the linked thread, though, my client’s form has more than one email address: one on the first page, and one on the second page.
Here’s my email blacklist settings. As you can see, there is no blank space or extra comma: https://webpagefx.mangoapps.com/msc/MTM4NDcxMl8xMjA5NDcxNg
And here’s the stack trace: https://webpagefx.mangoapps.com/msc/MTM4NDcxM18xMjA5NDcyNA
Now, if you visit the form right now (https://www.ameriproroofing.com/ameripro-roofing-referrals/), you’ll notice the error doesn’t display. This is because I’ve added a quick fix to the plugin code on class-gfemailblacklist.php around line 257: https://webpagefx.mangoapps.com/msc/MTM4NDcxNF8xMjA5NDcyOQ
For whatever reason, when the second email field is checked against the blacklist, it’s already an array rather than a string, so explode() fails.
Since we have a quick fix, I’m not urgently in need of support – but if this issue could be fixed soon, that would be super.
Thank you!
- The topic ‘Multipage forms with more than one email field throw error’ is closed to new replies.