CustomFieldHelper - Error when trying to run conditional logic on custom field

[2021-03-08 12:40:03] 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/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/EventListener/CampaignSubscriber.php on line 502 (uncaught exception) at /var/www/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/Helper/CustomFieldHelper.php line 60 while running console command mautic:campaigns:trigger

[2021-03-08 12:40:03] mautic.WARNING: Command mautic:campaigns:trigger exited with status code 1

[2021-03-08 12:48: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/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/EventListener/CampaignSubscriber.php on line 502 (uncaught exception) at /var/www/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/Helper/CustomFieldHelper.php line 60 while running console command mautic:campaigns:trigger

[2021-03-08 12:48:02] mautic.WARNING: Command mautic:campaigns:trigger exited with status code 1

[2021-03-08 12:56: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/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/EventListener/CampaignSubscriber.php on line 502 (uncaught exception) at /var/www/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/Helper/CustomFieldHelper.php line 60 while running console command mautic:campaigns:trigger

[2021-03-08 12:56:02] mautic.WARNING: Command mautic:campaigns:trigger exited with status code 1

[2021-03-08 13:04:03] 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/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/EventListener/CampaignSubscriber.php on line 502 (uncaught exception) at /var/www/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/Helper/CustomFieldHelper.php line 60 while running console command mautic:campaigns:trigger

[2021-03-08 13:04:03] mautic.WARNING: Command mautic:campaigns:trigger exited with status code 1

[2021-03-08 13:08: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/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/EventListener/CampaignSubscriber.php on line 502 (uncaught exception) at /var/www/vhosts/domain.com/crm.domain.com/app/bundles/LeadBundle/Helper/CustomFieldHelper.php line 60 while running console command mautic:campaigns:trigger

[2021-03-08 13:08:02] mautic.WARNING: Command mautic:campaigns:trigger exited with status code 1

I’m facing the similar issue on mautic version 3.2.5 & 3.3.3

env details
mautic3.3.3
php7.3
mysql 8

mautic campaign workflow

source=campaign form–> condition=checkcontact field–> send email

error:

In CustomFieldHelper.php line 60:
| [CRON]
| [CRON] Type error: Argument 1 passed to MauticLeadBundleHelperCustomFieldHelper
| [CRON] ::fieldValueTransfomer() must be of the type array, null given, called in /
| [CRON] var/www/html/app/bundles/LeadBundle/EventListener/CampaignSubscriber.php on
| [CRON] line 502

@dennisameling @ekke

Hello!
I’m facing the similar issue on mautic version 3.3.3

I believe this bug will be fixed in the next version.

https://forum.mautic.org/t/mautic-campaign-doesnot-work/19628