Umbraco Forms 6.0.6 + Perplexmail NullReferenceException
I’ve upgraded Umbraco to 7.8.1 and Umbraco Forms to 6.0.6 but am running into an error trying to send an email with PerplexMail.
2018-02-18 10:07:25,483 [P10272/D4/T81] ERROR Umbraco.Forms.Core.Services.WorkflowService - Form workflow 'Send PerplexMail to Sales' failed on 'Submitted' of Record with Unique ID '4cb600c5-c481-4055-be17-84878f26f40d' from the Form named 'Contact Form' with Unique ID '18fa62e3-1a00-497e-bdb3-6c0d24143bcc'
System.ArgumentNullException: Value cannot be null.
Parameter name: tag
at PerplexMail.EmailTag.sanitizeTag(String tag)
at PerplexMail.UmbracoForms.EmailWorkflow.ParseRecordField(RecordField recordField)
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at PerplexMail.UmbracoForms.EmailWorkflow.Execute(Record record, RecordEventArgs e)
at Umbraco.Forms.Core.Services.WorkflowService.ExecuteWorkflows(List`1 workflows, RecordEventArgs e)
Has anyone run into this and know how to solve it? Any ideas?
Update: I just tested this on a different Umbraco form and it emailed me without issue. Something must be broken either with the Umbraco form workflow or the Perplexmail content node. (oddly neither changed during the upgrades)
I've confirmed that the form's json file is wired up to the workflow json which is wired up the correct Perplexmail content ID.
Solution:
I had a few fairly old forms that did not have a name/question specified for recaptcha:
Once I edited and specified that, we were back in business and emails were sending again. No errors with PerplexMail or Umbraco Forms, it just appears 6.0.6 now has better error checking to ensure formfields have ID's specified.
Umbraco Forms 6.0.6 + Perplexmail NullReferenceException
I’ve upgraded Umbraco to 7.8.1 and Umbraco Forms to 6.0.6 but am running into an error trying to send an email with PerplexMail.
Has anyone run into this and know how to solve it? Any ideas?
Update: I just tested this on a different Umbraco form and it emailed me without issue. Something must be broken either with the Umbraco form workflow or the Perplexmail content node. (oddly neither changed during the upgrades)
I've confirmed that the form's json file is wired up to the workflow json which is wired up the correct Perplexmail content ID.
Solution: I had a few fairly old forms that did not have a name/question specified for recaptcha:
Once I edited and specified that, we were back in business and emails were sending again. No errors with PerplexMail or Umbraco Forms, it just appears 6.0.6 now has better error checking to ensure formfields have ID's specified.
Hi Chris,
glad you've fixed it yourself and thanks for letting me know.
Kind regards, Jeffrey
is working on a reply...