Bug #13640
closed
pfSense - Feature #13446: Upgrade PHP from 7.4 to 8.1
PHP Error: util.inc:1932
Added by Steve Wheeler about 2 years ago.
Updated over 1 year ago.
Affected Plus Version:
23.01
Affected Architecture:
All
Description
PHP Errors:
[08-Nov-2022 23:53:55 Europe/London] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/util.inc:1932
Stack trace:
#0 /usr/local/pkg/haproxy/haproxy.inc(424): alias_get_type('4444')
#1 /usr/local/pkg/haproxy/haproxy.inc(2586): haproxy_portoralias_to_list('4444')
#2 /usr/local/pkg/haproxy/haproxy.inc(1730): get_frontend_bindips(Array)
#3 /usr/local/pkg/haproxy/haproxy.inc(2353): haproxy_writeconf('/var/etc/haprox...')
#4 /usr/local/pkg/haproxy/haproxy.inc(1278): haproxy_check_run(1)
#5 Standard input code(5): haproxy_configure()
#6 {main}
thrown in /etc/inc/util.inc on line 1932
Tested:
23.01-DEVELOPMENT (arm64)
built on Tue Nov 08 16:16:38 UTC 2022
FreeBSD 14.0-CURRENT
- Parent task set to #13446
- Assignee set to Reid Linnemann
The box I hit this on has no aliases configured.
This is the HAProxy config that triggered it:
<haproxy>
<ha_backends>
<item>
<name>2100FE</name>
<desc>2100-2 FE</desc>
<status>active</status>
<type>http</type>
<forwardfor>yes</forwardfor>
<httpclose>httpclose</httpclose>
<backend_serverpool>2100-2</backend_serverpool>
<ssloffloadcert>5f1d9db56084a</ssloffloadcert>
<advanced></advanced>
<ha_acls></ha_acls>
<ha_certificates></ha_certificates>
<clientcert_ca></clientcert_ca>
<clientcert_crl></clientcert_crl>
<a_extaddr>
<item>
<extaddr>wan_ipv4</extaddr>
<extaddr_port>4444</extaddr_port>
<extaddr_ssl>yes</extaddr_ssl>
<_index></_index>
</item>
</a_extaddr>
<a_actionitems></a_actionitems>
<a_errorfiles></a_errorfiles>
<log-separate-errors>yes</log-separate-errors>
</item>
</ha_backends>
<ha_pools>
<item>
<ha_servers>
<item>
<status>active</status>
<name>2100-2</name>
<address>10.20.4.12</address>
<port>80</port>
<id>101</id>
<_index></_index>
</item>
</ha_servers>
<a_acl></a_acl>
<a_actionitems></a_actionitems>
<errorfiles></errorfiles>
<advanced></advanced>
<advanced_backend></advanced_backend>
<name>2100-2</name>
<balance></balance>
<balance_urilen></balance_urilen>
<balance_uridepth></balance_uridepth>
<balance_uriwhole></balance_uriwhole>
<transparent_clientip></transparent_clientip>
<transparent_interface>lan</transparent_interface>
<check_type>HTTP</check_type>
<checkinter>5000</checkinter>
<log-health-checks>yes</log-health-checks>
<httpcheck_method>GET</httpcheck_method>
<monitor_uri></monitor_uri>
<monitor_httpversion></monitor_httpversion>
<monitor_username></monitor_username>
<monitor_domain></monitor_domain>
<monitor_agentport>2100-2</monitor_agentport>
<agent_check></agent_check>
<agent_port></agent_port>
<agent_inter></agent_inter>
<connection_timeout></connection_timeout>
<server_timeout></server_timeout>
<retries></retries>
<stats_enabled></stats_enabled>
<stats_username>admin</stats_username>
<stats_password>topsectret</stats_password>
<stats_uri></stats_uri>
<stats_scope></stats_scope>
<stats_realm></stats_realm>
<stats_admin></stats_admin>
<stats_node></stats_node>
<stats_desc></stats_desc>
<stats_refresh></stats_refresh>
<persist_stick_expire></persist_stick_expire>
<persist_stick_tablesize></persist_stick_tablesize>
<persist_stick_length></persist_stick_length>
<persist_stick_cookiename></persist_stick_cookiename>
<persist_sticky_type>none</persist_sticky_type>
<persist_cookie_enabled></persist_cookie_enabled>
<persist_cookie_name></persist_cookie_name>
<persist_cookie_mode>passive</persist_cookie_mode>
<persist_cookie_cachable></persist_cookie_cachable>
<persist_cookie_postonly></persist_cookie_postonly>
<persist_cookie_httponly></persist_cookie_httponly>
<persist_cookie_secure></persist_cookie_secure>
<haproxy_cookie_maxidle></haproxy_cookie_maxidle>
<haproxy_cookie_maxlife></haproxy_cookie_maxlife>
<haproxy_cookie_domains></haproxy_cookie_domains>
<haproxy_cookie_dynamic_cookie_key></haproxy_cookie_dynamic_cookie_key>
<strict_transport_security></strict_transport_security>
<cookie_attribute_secure></cookie_attribute_secure>
<email_level></email_level>
<email_to></email_to>
<id>100</id>
</item>
</ha_pools>
<configversion>00.57</configversion>
<files></files>
<email_mailers></email_mailers>
<dns_resolvers></dns_resolvers>
<maxconn>10</maxconn>
<logfacility>local0</logfacility>
<loglevel>notice</loglevel>
<nbthread></nbthread>
<hard_stop_after></hard_stop_after>
<localstats_refreshtime></localstats_refreshtime>
<localstats_sticktable_refreshtime></localstats_sticktable_refreshtime>
<log-send-hostname></log-send-hostname>
<ssldefaultdhparam>2048</ssldefaultdhparam>
<email_level></email_level>
<email_myhostname></email_myhostname>
<email_from></email_from>
<email_to></email_to>
<resolver_retries></resolver_retries>
<resolver_timeoutretry></resolver_timeoutretry>
<resolver_holdvalid></resolver_holdvalid>
<localstatsport>2200</localstatsport>
<config></config>
<enable></enable>
<remotesyslog>/var/run/log</remotesyslog>
</haproxy>
- Status changed from New to Pull Request Review
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
Tested on
23.01-DEVELOPMENT (amd64)
built on Fri Dec 09 06:12:49 UTC 2022
FreeBSD 14.0-CURRENT
No errors. Marking as resolved.
- Target version deleted (
2.7.0)
- Plus Target Version deleted (
23.01)
Also available in: Atom
PDF