PHP warnings in LSWS from /classes/STATS.php

brrr

Well-Known Member
#1
I've been seeing LOTS of these errors recently in the LSWS error log, after viewing the live stats:

Code:
2010-04-23 22:46:52.370	NOTICE	[12.34.56.78:2114-0#_AdminVHost] [STDERR] PHP Warning: array_multisort() [<a href='function.array-multisort'>function.array-multisort</a>]: Argument #1 is expected to be an array or a sort flag in /opt/lsws/admin/html.4.0.14/classes/STATS.php on line 281
2010-04-23 22:46:52.370	NOTICE	[12.34.56.78:2114-0#_AdminVHost] [STDERR] PHP Warning: array_slice() [<a href='function.array-slice'>function.array-slice</a>]: The first argument should be an array in /opt/lsws/admin/html.4.0.14/classes/STATS.php on line 288
LSWS 4.0.14 Standard, Ubuntu, PHP 5.3.1 w. APC/Suhosin compiled via LSWS.

Just FYI. Everything still seems to work OK, so this isn't a serious bug, but there are hundreds of these warnings in the logs.
 
Top