Bug #8790
closedgetting PHP error regarding HAproxy pkg
0%
Description
On 2.4.4 buildtime - Tue Aug 14 16:55:58 EDT 2018
Crash report begins. Anonymous machine information:
amd64
11.2-RELEASE-p1
FreeBSD 11.2-RELEASE-p1 #53 d867749350f(factory-RELENG_2_4_4): Tue Aug 14 17:34:55 EDT 2018 root@buildbot3:/builder/crossbuild-master/obj/amd64/rdiCdX3r/builder/crossbuild-master/pfSense/tmp/FreeBSD-src/sys/pfSense
Crash report details:
PHP Errors:
[15-Aug-2018 06:03:13 Etc/UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/www/guiconfig.inc on line 260
[16-Aug-2018 05:11:14 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:14 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:20 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:20 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.newwanip(223): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:22 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:22 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:25 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:11:25 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:13:17 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:13:17 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:13:21 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:13:21 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:42 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:42 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.newwanip(223): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:47 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:47 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.filter_configure_sync(29): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:53 Etc/UTC] PHP Warning: Illegal string offset 'item' in /usr/local/pkg/haproxy/haproxy.inc on line 2189
[16-Aug-2018 05:15:53 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:2189
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(2226): haproxy_get_transparent_backends()
#1 /etc/inc/filter.inc(4432): haproxy_generate_rules('filter')
#2 /etc/inc/filter.inc(410): discover_pkg_rules('filter')
#3 /etc/rc.reload_all(34): filter_configure_sync()
#4 {main}
thrown in /usr/local/pkg/haproxy/haproxy.inc on line 2189
No FreeBSD crash data found.
Updated by Anonymous over 6 years ago
- Priority changed from Normal to Normal-package
Updated by Jim Pingle over 6 years ago
- Project changed from pfSense to pfSense Packages
- Category changed from Operating System to haproxy
Updated by Anonymous over 6 years ago
- Status changed from New to In Progress
- Assignee set to Anonymous
Updated by Anonymous over 6 years ago
- Status changed from In Progress to Feedback
Updated by Azamat Khakimyanov about 6 years ago
- Status changed from Feedback to Assigned
On 2.4.4.a.20180801.0114 when I installed HAproxy I caught the same crash report.
But on 2.4.4.a.20180826.1232 when I installed HAproxy I caught another crash:
Crash report begins. Anonymous machine information:
amd64
11.2-RELEASE-p2
FreeBSD 11.2-RELEASE-p2 #91 02c4cf66db5(RELENG_2_4_4): Sun Aug 26 12:33:43 EDT 2018 root@buildbot3:/builder/crossbuild-ce-master/obj/amd64/FWJoMRHc/builder/crossbuild-ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense
Crash report details:
PHP Errors:
[27-Aug-2018 11:20:08 Etc/UTC] PHP Fatal error: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402) in /usr/local/pkg/haproxy/haproxy_utils.inc on line 122
[27-Aug-2018 11:20:11 Etc/UTC] PHP Fatal error: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402) in /usr/local/pkg/haproxy/haproxy_utils.inc on line 105
No FreeBSD crash data found.
Updated by Greg M about 6 years ago
Same here.
Haproxy is not installed after this error and services are down.
Updated by Pi Ba about 6 years ago
Should be fixed with current 0.59_11 version. If not please let me know the exact error you get and when that happens.