Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HAProxy php error after devel-update

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 556 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      TonyStone
      last edited by

      I am running the Devel option for updates in pfSense. Something seems to have broken my haproxy setup.... I get these errors now whenever I create a front end and try to apply the settings:

      PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 1912, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/util.inc:1912
      Stack trace:
      #0 /usr/local/pkg/haproxy/haproxy.inc(465): alias_get_type('80')
      #1 /usr/local/pkg/haproxy/haproxy.inc(2751): haproxy_portoralias_to_list('80')
      #2 /usr/local/pkg/haproxy/haproxy.inc(1829): get_frontend_bindips(Array)
      #3 /usr/local/pkg/haproxy/haproxy.inc(1355): haproxy_writeconf('/var/etc/haprox...')
      #4 /usr/local/www/haproxy/haproxy_listeners.php(97): haproxy_check_and_run(NULL, true)
      #5 {main}
      thrown @ 2022-11-05 22:02:10
      

      I have completely removed all haproxy settings manually from my config.xml file. I have tried the regular haproxy package and haprocy-devel pack. Still get errors. Any ideas what I can try?
      Current Base System2.7.0.a.20221104.0600

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.