Project

General

Profile

Bug #9366

"Illegal string offset" PHP errors

Added by Jim Pingle 3 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
PHP Interpreter
Target version:
Start date:
03/05/2019
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:
All

Description

We have a patch that suppresses some "Illegal string offset" PHP errors but if the ones we can spot are easy to fix we should fix them rather than let them be suppressed.

Here are a few I've spotted so far:

PHP Warning:  Illegal string offset 'bridged' in /etc/inc/filter.inc on line 3493
PHP Warning:  Illegal string offset 'bridged' in /etc/inc/interfaces.inc on line 6009
PHP Warning:  Illegal string offset 'bridged' in /etc/inc/interfaces.inc on line 680
PHP Warning:  Illegal string offset 'bridged' in /usr/local/www/interfaces_assign.php on line 85
PHP Warning:  Illegal string offset 'cronorder' in /etc/inc/filter_log.inc on line 153
PHP Warning:  Illegal string offset 'cronorder' in /etc/inc/filter_log.inc on line 154
PHP Warning:  Illegal string offset 'cronorder' in /usr/local/www/status_logs_common.inc on line 594
PHP Warning:  Illegal string offset 'dyndns' in /etc/inc/services.inc on line 1906
PHP Warning:  Illegal string offset 'format' in /usr/local/www/status_logs_common.inc on line 597
PHP Warning:  Illegal string offset 'format' in /usr/local/www/status_logs_common.inc on line 70
PHP Warning:  Illegal string offset 'format' in /usr/local/www/status_logs_common.inc on line 72
PHP Warning:  Illegal string offset 'host' in /usr/local/www/widgets/widgets/dyn_dns_status.widget.php on line 44
PHP Warning:  Illegal string offset 'id' in /usr/local/www/widgets/widgets/dyn_dns_status.widget.php on line 33
PHP Warning:  Illegal string offset 'ifgroupentry' in /etc/inc/filter.inc on line 1244
PHP Warning:  Illegal string offset 'ifgroupentry' in /etc/inc/interfaces.inc on line 5270
PHP Warning:  Illegal string offset 'ifgroupentry' in /etc/inc/interfaces.inc on line 5301
PHP Warning:  Illegal string offset 'ifgroupentry' in /etc/inc/interfaces.inc on line 5424
PHP Warning:  Illegal string offset 'ifgroupentry' in /etc/inc/interfaces.inc on line 6023
PHP Warning:  Illegal string offset 'interface' in /usr/local/www/widgets/widgets/dyn_dns_status.widget.php on line 261
PHP Warning:  Illegal string offset 'ipaddr' in /usr/local/www/system_advanced_network.php on line 41
PHP Warning:  Illegal string offset 'item' in /etc/inc/services.inc on line 1036
PHP Warning:  Illegal string offset 'item' in /etc/inc/services.inc on line 1522
PHP Warning:  Illegal string offset 'item' in /etc/inc/services.inc on line 914
PHP Warning:  Illegal string offset 'logfilesize' in /usr/local/www/status_logs_common.inc on line 596
PHP Warning:  Illegal string offset 'name' in /etc/inc/service-utils.inc on line 210
PHP Warning:  Illegal string offset 'name' in /etc/inc/service-utils.inc on line 394
PHP Warning:  Illegal string offset 'name' in /etc/inc/service-utils.inc on line 404
PHP Warning:  Illegal string offset 'name' in /etc/inc/service-utils.inc on line 414
PHP Warning:  Illegal string offset 'name' in /etc/inc/service-utils.inc on line 430
PHP Warning:  Illegal string offset 'name' in /etc/inc/service-utils.inc on line 433
PHP Warning:  Illegal string offset 'name' in /etc/inc/service-utils.inc on line 86
PHP Warning:  Illegal string offset 'name' in /usr/local/www/head.inc on line 157
PHP Warning:  Illegal string offset 'nentries' in /usr/local/www/status_logs_common.inc on line 595
PHP Warning:  Illegal string offset 'queue' in /usr/local/www/status_queues.php on line 54
PHP Warning:  Illegal string offset 'section' in /usr/local/www/head.inc on line 159
PHP Warning:  Illegal string offset 'server' in /usr/local/www/services_dhcp_relay.php on line 41
PHP Warning:  Illegal string offset 'type' in /usr/local/www/widgets/widgets/dyn_dns_status.widget.php on line 195
PHP Warning:  Illegal string offset 'type' in /usr/local/www/widgets/widgets/dyn_dns_status.widget.php on line 263
PHP Warning:  Illegal string offset 'type' in /usr/local/www/widgets/widgets/dyn_dns_status.widget.php on line 264
PHP Warning:  Illegal string offset 'type' in /usr/local/www/widgets/widgets/dyn_dns_status.widget.php on line 269
PHP Warning:  Illegal string offset 'type' in /usr/local/www/widgets/widgets/dyn_dns_status.widget.php on line 40
PHP Warning:  Illegal string offset 'wolentry' in /usr/local/www/widgets/widgets/wake_on_lan.widget.php on line 26

Associated revisions

Revision b88050bb (diff)
Added by Jim Pingle 3 months ago

Fix some illegal offset errors. Issue #9366

Revision 144863e3 (diff)
Added by Jim Pingle 3 months ago

Fix more illegal offset errors. Issue #9366

History

#1 Updated by Jim Pingle 2 months ago

  • Status changed from New to Resolved

I haven't seen any of these for a while. The patch that suppressed them is back, and the most common ones are corrected.

Also available in: Atom PDF