Open kerrig opened 3 years ago
Hi @kerrig. My apologies for the slow reply. I've been renegotiating several business relationships so that I can give our plugins the proper focus again and I'm just about back to more responsive replies.
I'm unable to reproduce this issue in my tests. If this is still an issue, would you be able to send your db over to sprout@barrelstrengthdesign.com so I can take a closer look?
From your log file, it appears the field is failing validation with an "Array to string conversion" issue in the compiled templates folder. I'm not sure what that means yet, but perhaps taking a closer look at the value the field has stored (or is trying to store in the db) could help me get one step closer to an answer.
We've run into this when trying to save duplicate email values. It might be a non-unique key issue.
I'm having the same issue right now. Any ideas on this?
Apologies for creating this ticket and never responding, was super busy when I created this and ended up doing a manual database update and completely forgot to update here. @extensibleseth is correct it was related to duplicate email values, I believe there was code trying to throw an actual error within validate, which was then getting caught by the validate code and turning into an array to string conversion error. The workaround was at the time was manually updating the database because it wouldn't let me update the field values after that error was thrown.
If needed I can still try to pull together a database with the issue.
I'm running into this issue as well.
Using the email field with several of the dropdown options going to the same email.
I'm currently running into this exact issue. Sprout Forms Lite v3.13.2.3
I attempted to clear my compiled template cache and it fixed it on first save but attempting to edit the email dropdown field again will not save and throws the error (even after trying to clear the compiled template cache again). I just freshly installed this plugin on this site so it wasn't updated from a previous version.
The error & stack trace from web.log: sproutform-emaildropdown-error.log
Additional info
Originally posted by @kerrig in https://github.com/barrelstrength/craft-sprout-forms/issues/525#issuecomment-781573395
Front conversations