# Php errors Argument should be an array

**URL:** <https://forum.mautic.org/t/php-errors-argument-should-be-an-array/12361>\
**Category:** Product Support\
**Created:** [January 20, 2020, 9:38am UTC](https://forum.mautic.org/t/php-errors-argument-should-be-an-array/12361 "2020-01-20T09:38:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dellabella](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dellabella/32/677_2.png) [@dellabella](https://forum.mautic.org/u/dellabella)\
**Post date:** [January 20, 2020, 9:38am UTC](https://forum.mautic.org/t/php-errors-argument-should-be-an-array/12361/1 "2020-01-20T09:38:32Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![dellabella](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dellabella/32/677_2.png) [@dellabella](https://forum.mautic.org/u/dellabella)\
**Post date:** [January 22, 2020, 8:59am UTC](https://forum.mautic.org/t/php-errors-argument-should-be-an-array/12361/2 "2020-01-22T08:59:16Z")

</div>

> [@dellabella](#):
>
> rray\_map(): Argument #2 should be an array - in file /mautic/app/bundles/ReportBundle/Entity/Report.php - at line 472

Anyone know what I can do?? to resolve?
