LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > PHP warnings in LSWS from /classes/STATS.php

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2010, 12:34 PM
brrr brrr is offline
Senior Member
 
Join Date: Aug 2007
Posts: 94
Default PHP warnings in LSWS from /classes/STATS.php

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.
Reply With Quote
  #2  
Old 04-26-2010, 10:26 AM
Lauren Lauren is offline
LiteSpeed Staff
 
Join Date: Jul 2003
Location: New Jersey, USA
Posts: 99
acknowledged, this will happen when the exp app list is empty.
fix will be included in the next build.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:54 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.