Your software
My Mautic version is: 4.3.1
My PHP version is: 7.4
My Database type and version is:MySQL 5+
Your problem
My problem is: The Campaign action webhook is not sending data anymore. When I first create the action send webhook with POST to a URL
It did received all the data first name last name company name email address etc etc without needing me to fill in any header or data in the Send a Webhook
I needed to add one custom data to the webhook so I add custom data and webhook only send the data I added … not the contact information or any other data … I deleted this custom data and now it sending only blank no contact and no data at all
These errors are showing in the log:
[2022-06-07 13:48:53] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Argument 2 passed to Mautic\CoreBundle\Helper\AbstractFormFieldHelper::appendChoice() must be of the type string, null given, called in /home/agwmadmin/mas.agwm.org/app/bundles/CoreBundle/Helper/AbstractFormFieldHelper.php on line 209" at /home/agwmadmin/mas.agwm.org/app/bundles/CoreBundle/Helper/AbstractFormFieldHelper.php line 238 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Argument 2 passed to Mautic\\CoreBundle\\Helper\\AbstractFormFieldHelper::appendChoice() must be of the type string, null given, called in /home/agwmadmin/mas.agwm.org/app/bundles/CoreBundle/Helper/AbstractFormFieldHelper.php on line 209 at /home/agwmadmin/mas.agwm.org/app/bundles/CoreBundle/Helper/AbstractFormFieldHelper.php:238)"} {"hostname":"server.247ag.org","pid":28767}
[2022-06-07 13:49:11] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Argument 2 passed to Mautic\CoreBundle\Helper\AbstractFormFieldHelper::appendChoice() must be of the type string, null given, called in /home/agwmadmin/mas.agwm.org/app/bundles/CoreBundle/Helper/AbstractFormFieldHelper.php on line 209" at /home/agwmadmin/mas.agwm.org/app/bundles/CoreBundle/Helper/AbstractFormFieldHelper.php line 238 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Argument 2 passed to Mautic\\CoreBundle\\Helper\\AbstractFormFieldHelper::appendChoice() must be of the type string, null given, called in /home/agwmadmin/mas.agwm.org/app/bundles/CoreBundle/Helper/AbstractFormFieldHelper.php on line 209 at /home/agwmadmin/mas.agwm.org/app/bundles/CoreBundle/Helper/AbstractFormFieldHelper.php:238)"} {"hostname":"server.247ag.org","pid":28767}
Steps I have tried to fix the problem:
I created a new campaign thinking one I tried to change setting was bugged out but it still not sending data over the webhook on a newly create campaign
Really need this working because we are leaving our old mailer system and we want to keep the contaact list update by have Mautic send over the webhook every time someone sign up or subscribe on mautic new system
This issue is putting us on hold