Mautic Community Forums

Php errors Argument should be an array

Your software
My Mautic version is: 2.15.3
My PHP version is: 7.2

Your problem
My problem is:
I have errors in my log below, that I got after upgrading via SSh

These errors are showing in the log:
autic.WARNING: PHP Warning - array_map(): Argument #2 should be an array - in file /mautic/app/bundles/ReportBundle/Entity/Report.php - at line 472
[2020-01-20 11:16:36] mautic.WARNING: PHP Warning - array_merge(): Argument #2 is not an array - in file /mautic/app/bundles/ReportBundle/Entity/Report.php - at line 498
[2020-01-20 11:16:36] mautic.WARNING: PHP Warning - array_merge(): Argument #1 is not an array - in file /mautic/app/bundles/ReportBundle/Entity/Report.php - at line 490
[2020-01-20 11:16:36] mautic.WARNING: PHP Warning - in_array() expects parameter 2 to be array, null given - in file /mautic/app/bundles/ReportBundle/Event/ReportGeneratorEvent.php - at line 401 {“column”:“comp.companyzipcode”,“columns”:null}

Steps I have tried to fix the problem: I have cleared cache as suggested in another post.

Anyone know what I can do?? to resolve?