# Report filter error

**URL:** https://forum.mautic.org/t/report-filter-error/30994
**Category:** Product Support
**Created:** [February 21, 2024, 3:34pm UTC](https://forum.mautic.org/t/report-filter-error/30994 "2024-02-21T15:34:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![arisl](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@arisl](https://forum.mautic.org/u/arisl)
#### Post date: [February 21, 2024, 3:34pm UTC](https://forum.mautic.org/t/report-filter-error/30994/1 "2024-02-21T15:34:17Z")

</div>

My Mautic version is: 5.0.3  
My PHP version is: 8.1  
My Database type and version is: MariaDb 10.5.23

My problem is:  
When I try to add a filter to a report it crashes but I also see more errors in the log file. I don’t know if they are related.

These errors are showing in the log:  
[2024-02-21T00:40:05.504900+00:00] php.CRITICAL: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) {“exception”:“[object] (Symfony\Component\ErrorHandler\Error\OutOfMemoryError(code: 0): Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) at /var/www/vhosts/klett.gr/comm.klett.gr/app/bundles/LeadBundle/Helper/CustomFieldValueHelper.php:24)”} {“hostname”:“chost”,“pid”:2414846}

[2024-02-21T14:13:25.442920+00:00] php.CRITICAL: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 196608 bytes) {“exception”:“[object] (Symfony\Component\ErrorHandler\Error\OutOfMemoryError(code: 0): Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 196608 bytes) at /vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130)”} {“hostname”:“chost”,“pid”:2386549}

[2024-02-21T15:26:08.869788+00:00] php.CRITICAL: Uncaught Error: Too few arguments to function Doctrine\DBAL\Query\Expression\CompositeExpression::and(), 0 passed in /app/bundles/ReportBundle/Builder/MauticReportBuilder.php on line 468 and exactly 1 expected {“exception”:“[object] (ArgumentCountError(code: 0): Too few arguments to function Doctrine\DBAL\Query\Expression\CompositeExpression::and(), 0 passed in /app/bundles/ReportBundle/Builder/MauticReportBuilder.php on line 468 and exactly 1 expected at /vendor/doctrine/dbal/src/Query/Expression/CompositeExpression.php:65)”} {“hostname”:“chost”,“pid”:2583706}

Steps I have tried to fix the problem:  
Don’t know what to try. I only tried clearing the cache just in case something was corrupt there.

---

<div class="post-metadata">

### Author: ![ricfreire](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricfreire/32/14973_2.png) [@ricfreire](https://forum.mautic.org/u/ricfreire)
#### Post date: [February 21, 2024, 5:51pm UTC](https://forum.mautic.org/t/report-filter-error/30994/2 "2024-02-21T17:51:50Z")

</div>

@arisl can you please report that bug at [Mautic’s GitHub](https://github.com/mautic/mautic/issues)? Thanks
