2

I have the latest versions of Craft CMS, Sprout Email and Craft Contact plugins. Sprout behaves fine with some notifications I have set up. However, if I submit a contact form it throws a PHP error - mb_convert_case() expects parameter 1 to be string, array given

If I disable Sprout, then Contact Form works fine.

Looking at the logs, I see that submitting the form triggers a 'When an entry is saved' event and Sprout starts looking at whether it is something it should handle and then chokes when trying to parse it as an entry.

I finally got things to work by disabling the "Enable Sent Email tracking" feature in Sprout Email, but I would prefer not to have to do that.

Has anyone encountered anything like this or have any thoughts on this? Thanks for any input!

  • Can you share the full stack trace for that error? It sounds like a Sprout bug, but can't say for sure without seeing. – Brad Bell Sep 30 '17 at 0:43
  • This is currently a bug in Sprout Email. We'll have a fix out next release. I've made a note to update this thread when we do. – Ben Parizek Sep 30 '17 at 4:10
1

This issue has been resolved in Sprout Email 3.

Be sure to read the upgrade notes. This is a major release and some scenarios may require a few manual steps to get updated.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.