# Error when enabling double opt in

**URL:** <https://forum.mautic.org/t/error-when-enabling-double-opt-in/7958>\
**Category:** General Discussion\
**Created:** [March 17, 2017, 8:16pm UTC](https://forum.mautic.org/t/error-when-enabling-double-opt-in/7958 "2017-03-17T20:16:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mausm](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@mausm](https://forum.mautic.org/u/mausm)\
**Post date:** [March 17, 2017, 8:16pm UTC](https://forum.mautic.org/t/error-when-enabling-double-opt-in/7958/1 "2017-03-17T20:16:54Z")

</div>

Code:

mautic.NOTICE: PHP Notice - Array to string conversion - in file /var/www/html/mautic/app/bundles/CoreBundle/Helper/InputHelper.php - at line 314 [] []

  
This error occurs when the email is triggered by the 2 step opt in.  
I followed the instructions here: https://www.mautic.org/blog/integrator/creating-a-double-opt-in-email-campaign/  
  
When I go to Contacts \> click my test name \> under Event History, it says "Custom Email: [subject] Email sent Today, 2:58 pm"  
....yet nothing ever came, because of that error.  
  
If I go to Channels \> Emails \> Send Example  
Then, the email reaches my inbox.  
  
PHP 5.6.30 on CentOs 7  
Disabled opCache & error persists.  
Tried Github dev version, same.  
Tried to downgrade, farthest I can go is 2.7.1 (current version)  
  
**UPDATE:** Operator error... forgot to cron the queue. Woops.  
Still, though.. what causes this error when the email is triggered??

---

<div class="post-metadata">

**Author:** ![mausm](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@mausm](https://forum.mautic.org/u/mausm)\
**Post date:** [March 17, 2017, 8:16pm UTC](https://forum.mautic.org/t/error-when-enabling-double-opt-in/7958/2 "2017-03-17T20:16:54Z")

</div>

```auto
mautic.NOTICE: PHP Notice - Array to string conversion - in file /var/www/html/mautic/app/bundles/CoreBundle/Helper/InputHelper.php - at line 314 [] []
```

This error occurs when the email is triggered by the 2 step opt in.  
I followed the instructions here: [https://www.mautic.org/blog/integrator/creating-a-double-opt-in-email-campaign/](https://www.mautic.org/blog/integrator/creating-a-double-opt-in-email-campaign/)

When I go to Contacts \> click my test name \> under Event History, it says “Custom Email: [subject] Email sent Today, 2:58 pm”  
…yet nothing ever came, because of that error.

If I go to Channels \> Emails \> Send Example  
Then, the email reaches my inbox.

PHP 5.6.30 on CentOs 7  
Disabled opCache & error persists.  
Tried Github dev version, same.  
Tried to downgrade, farthest I can go is 2.7.1 (current version)

UPDATE: Operator error… forgot to cron the queue. Woops.  
Still, though… what causes this error when the email is triggered??
