Issue in Report Module

Warning: Invalid argument supplied for foreach() in /home/rushinet/public_html/kipl/rushiweb/modules/AOR_Reports/aor_utils.php on line 68

Warning: usort() expects parameter 2 to be a valid callback, no array or string given in /home/rushinet/public_html/kipl/rushiweb/modules/AOR_Reports/AOR_Report.php on line 108

report module works fine in local machine xampp server but once i was uploaded same copy on my domain its give me above mention error and we are not able to add any chart or view any chart…

do needful help asap getting so much due to this.

thnxs in advance


This is likely a PHP version issue. What version of PHP are you running on the server? I think the minimum is 5.3, from your error and the code you could be running a version prior to this.


Thanks for positive reply,
yes i got it, actually my hosting server carry lower php version,

many thanks for reply, hope so once my hosting provider update php version my problem going to resolve.

if i need further help then will contact you

My report module still not working , as per your last update, my application now loaded on new server where php version is higher now, (5.4…X),
but still report module is not working, kindly give any suggession or solution to start this report module asap