When working with presentstate and UCP modules, where there is a use of the getJson command, an error occurs
“asort() expects parameter 1 to be array, null given
”
jquery-1.11.3.min.js?load_version=13.0.195.4:5 GET http://freepbx.loc/admin/ajax.php?module=presencestate&command=getJSON&jdata=grid&search=&order=asc&_=1535613797967 500 (Internal Server Error)
How to solve this?