# Custom Field error triggered campaing

**URL:** <https://forum.mautic.org/t/custom-field-error-triggered-campaing/19519>\
**Category:** Product Support\
**Created:** [May 19, 2021, 11:28am UTC](https://forum.mautic.org/t/custom-field-error-triggered-campaing/19519 "2021-05-19T11:28:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcossanches](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/marcossanches/32/600_2.png) [@marcossanches](https://forum.mautic.org/u/marcossanches)\
**Post date:** [May 19, 2021, 11:28am UTC](https://forum.mautic.org/t/custom-field-error-triggered-campaing/19519/1 "2021-05-19T11:28:13Z")

</div>

**Your software**  
My Mautic version is: 3.3.1  
My PHP version is: 7.3.27  
My Database type and version is: MySql docker container

**Your problem**  
My problem is:  
I created a custom field of type select so I filled it in with three values … after I created a new campaign with a conditional verifying this custom field … when the campaign was launched I received this message in the mautic log.

screenshot 1 - conditional screen

 ![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/5e0c40ab9c34d1dbd34977e37af9cf694213ad51.png)

screenshot 2 - custom field detail

 ![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/ff62cadd30cc069c7e41705a7883ea7e6854eda9.png)

These errors are showing in the log:  
[2021-05-19 10:02:02] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Mautic\LeadBundle\Helper\CustomFieldHelper::fieldValueTransfomer() must be of the type array, null given, called in /var/www/html/app/bundles/LeadBundle/EventListener/CampaignSubscriber.php on line 502 (uncaught exception) at /var/www/html/app/bundles/LeadBundle/Helper/CustomFieldHelper.php line 60 while running console command `mautic:campaigns:trigger`    
[2021-05-19 10:02:02] mautic.WARNING: Command `mautic:campaigns:trigger` exited with status code 1

Steps I have tried to fix the problem:
