# Segmen anniversary filter doesn't work

**URL:** https://forum.mautic.org/t/segmen-anniversary-filter-doesnt-work/29783
**Category:** Product Support
**Created:** [October 30, 2023, 7:09am UTC](https://forum.mautic.org/t/segmen-anniversary-filter-doesnt-work/29783 "2023-10-30T07:09:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)
#### Post date: [October 30, 2023, 7:09am UTC](https://forum.mautic.org/t/segmen-anniversary-filter-doesnt-work/29783/1 "2023-10-30T07:09:56Z")

</div>

My Mautic version is: 4.4.10  
My PHP version is: 8.0.30  
My Database type and version is: Maria DB 10.6

I made a custom date field “Birthday” and created a birthday segment. But that is not working.

 ![Birthday Segment not working](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/4e5ae8f0c917d1480c02bf19e5bd1af08d1411b1.jpeg)

How can i find the error? The contact search birthday:anniversary doesn’t find it either.

The Birthday field:

 ![Birthday Field](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/acacc09331c97e6dfbb205474cb67dd0a9a54621.jpeg)

---

<div class="post-metadata">

### Author: ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)
#### Post date: [October 30, 2023, 7:36am UTC](https://forum.mautic.org/t/segmen-anniversary-filter-doesnt-work/29783/2 "2023-10-30T07:36:01Z")

</div>

I found the reason - it’s still ab bug in the 4.4.10

> [@Anniversary filter not working](https://forum.mautic.org/t/anniversary-filter-not-working/19437/5):
>
> Anyone the “work around” on the github ticket is to use: anniversary +1 days instead and that works.

That works:  
anniversary +1 days  
birthday +1 day

Here is the Github Issue

> <https://github.com/mautic/mautic/issues/9040>
>
> \[//\]: # ( Invisible comment: 
> IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII…I
> Before you create the issue:
> IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
> Search for similar report among other reported issues.
> Learn how to troubleshoot at https://www.mautic.org/docs/en/tips/troubleshooting.html
> Use drag&drop to attach images or other files )
> 
> \## Bug Description
> From support forum:
> https://forum.mautic.org/t/date-based-campaign/15418/3
> 
> When trying to setup a Birthday Campaign it does not seem to trigger correctly
> 
> These errors are showing in the log:
> None in System logs, none in /var/log/nginx/mautic.error log either
> 
> Steps I have tried to fix the problem:
> 
> Installed a clean version of Mautic-3.0.2.
> Added a custom field of type date - Date of Birth.
> 
> | Q | A
> | --- | ---
> | Mautic version | 3.0.2
> | PHP version | 7.2
> | Browser | 
> 
> \### Steps to reproduce
> 1. Add a user and user's birthday
> !\[image\](https://user-images.githubusercontent.com/42744161/88669083-1b791200-d0ec-11ea-973a-848ec5db1295.png)
> 
> 2. Created test campaign with a condition on contact field=Date of Birth and set date = anniversary
> !\[image\](https://aws1.discourse-cdn.com/business7/uploads/mautic/original/2X/0/0666904d201da07eff84f58df731db7065ccb9e5.png)
> 3. Added an action to send an email on the positive path
> !\[image\](https://aws1.discourse-cdn.com/business7/uploads/mautic/original/2X/8/8627793403e3cca464173b24a33641bf838e68ae.png)
> Ran cronjob manually and not getting any email and this is what is shown in campaign conditions report:
> !\[image\](https://aws1.discourse-cdn.com/business7/uploads/mautic/original/2X/6/61950b609f0555e4c45a0fd92e8034f676d1fa1d.png)
> Today is the 28th July.
> \### Log errors
> 
> No error in logs neither through the UI or server logs.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)
#### Post date: [December 13, 2023, 7:13am UTC](https://forum.mautic.org/t/segmen-anniversary-filter-doesnt-work/29783/4 "2023-12-13T07:13:11Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
