Actions
Bug #9445
closedLCDProc PHP Fatal error
Start date:
03/31/2019
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Affected Version:
2.4.x
Affected Plus Version:
Affected Architecture:
All
Description
Hey all,
I keep getting the errors below:
PHP errors
PHP ERROR: Type: 1, File: /usr/local/pkg/lcdproc_client.php, Line: 238, Message: Uncaught Error: [] operator not supported for strings in /usr/local/pkg/lcdproc_client.php:238
Stack trace:
#0 /usr/local/pkg/lcdproc_client.php(1187): get_slbd_stats()
#1 /usr/local/pkg/lcdproc_client.php(1327): loop_status(Resource id #41)
#2 {main}
thrown @ 2019-03-31 23:54:49
I'm running on a Watchguard XTM 5, Intel Q8200s, 4GB RAM and using the following settings for the server.
- Com Port: Parallel Port 1
- Display Size: 2 rows 20 columns
- Driver: WatchGuard FireBox with SDEC
- Port Speed: Default
- Refresh Frequency: 5 seconds
Everything else in the server is set to default.
Thanks!
Updated by Andy Davies about 6 years ago
Forgot to mention that I'm using the below and cant seem to edit the initial report. Sorry!
2.4.4-RELEASE-p2 (amd64)
built on Wed Dec 12 07:40:18 EST 2018
FreeBSD 11.2-RELEASE-p6
LCDProc 0.10.6_3
Updated by Jim Pingle about 6 years ago
- Status changed from New to Resolved
- Assignee set to Jim Pingle
- % Done changed from 0 to 100
- Affected Version set to 2.4.x
- Affected Architecture All added
- Affected Architecture deleted (
)
I pushed a fix for this for 2.4.4-p2.
For 2.5.0 I removed all references to slbd/load balancer from lcdproc, since the relayd load balancer is deprecated there (#9386).
Updated by Andy Davies about 6 years ago
That fixed the issue. Thanks so much for the fast work! :)
Actions