Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    HAProxy php error after devel-update

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 700 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
      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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy