Your software
My Mautic version is: 4.4.1
My PHP version is: 7.4
Your problem
My problem is:
Inside a campaign when choosing a Condition on Contact Field Value type Stats, and then choosing state equals “Alabama” it returns with “This value is not valid.”
Note: I have tested this in 4.4.2, 4.4.3, 4.4.4 and same bug
These errors are showing in the log:
2022/11/09 19:18:40 [error] 1053#1053: *2554256 FastCGI sent in stderr: "PHP message: PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /var/www/mautic/app/bundles/LeadBundle/Form/Type/CampaignEventLeadFieldValueType.php on line 156" while reading response header from upstream, client: 99.99.99.99, server: mymautic.com, request: "POST /s/campaigns/events/edit/1769?mauticUserLastActive=88&mauticLastNotificationId=26 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "mymautic.com", referrer: "https://mymautic.com/s/campaigns/edit/138"
Steps I have tried to fix the problem:
Nothing as of yet