Report filter error

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.

@arisl can you please report that bug at Mautic’s GitHub? Thanks

1 Like