SOLVED Array_filter() expects parameter 1 to be array, null given
after update r1448 I am getting the following error:
[QUOTE][Thu Apr 10 08:44:18 2014] [error] [client 10.0.2.59] PHP Warning: array_filter() expects parameter 1 to be array, null given in /var/www/fog/lib/pages/GroupManagementPage.class.php on line 497, referer: [url]http://10.0.0.252/fog/management/index.php?node=group&sub=list[/url][/QUOTE]
I would assume this error is based that I do not have any Groups in my GroupManagement yet. You should create a simple if statement to keep this from starting the array_filter() if the array is NULL.
Tom Elliott last edited by
Or just tell the variable to check that it as an array, no matter what!