You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to pass multi level groupings
array_group_by($records, 'state', 'city')
giving "Message: call_user_func_array() expects parameter 1 to be a valid callback, function 'array_group_by' not found or invalid function name" error
The text was updated successfully, but these errors were encountered:
how to pass multi level groupings array_group_by($records, 'state', 'city') giving "Message: call_user_func_array() expects parameter 1 to be a valid callback, function 'array_group_by' not found or invalid function name" error
Be careful if you use the function in a namespace by copying and pasting the function into your own code. Then the namespace must be added when calling call_user_func_array.
how to pass multi level groupings
array_group_by($records, 'state', 'city')
giving "Message: call_user_func_array() expects parameter 1 to be a valid callback, function 'array_group_by' not found or invalid function name" error
The text was updated successfully, but these errors were encountered: