Mautic Community Forums

Condition "Contact tags" not working in my Campaign

Your software
My Mautic version is: 2.14.0
My PHP version is: 7.0.33-0ubuntu0.16.04.6

Your problem
I created a campaign that is supposed to send either e-mail A or e-mail B based on contact’s tags. Here you can see the basic tree:
Capture

Contact source is form X, then decision to fill-out said form, then condition based on contact’s tag (verified user?). If the user has the tag send e-mail A (with an offer), if they don’t send e-mail B (verification e-mail).

I have tried with both types of users (having the tag and not having it) and neither of them recieved any e-mail

No errors are showing in the log.

Steps I have tried to fix the problem:

  • made sure that e-mails are published, and the right type

Hi there, and welcome to the Mautic Community Forums!

Are the emails being sent in other campaigns that don’t use tags?

Are there any errors in your error log at all?

Thanks.

Yes, they are being sent out without issues.

There is one error in my log that keeps popping up:
“[2019-10-09 00:19:29] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Doctrine\DBAL\Query\Expression\ExpressionBuilder::regexp() (uncaught exception) at /var/www/mautic/app/bundles/LeadBundle/Segment/Query/Filter/ForeignValueFilterQueryBuilder.php line 99 while running console command mautic:segments:update

Please see this bug:

Fixed in 2.14.2 with this PR: https://github.com/mautic/mautic/pull/6641

So, you should update to resolve that issue :slight_smile: