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

    HA-Proxy-devel errors after upgrading CE to 2.7.0

    Cache/Proxy
    2
    2
    454
    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.
    • bthovenB
      bthoven
      last edited by

      After upgrading to version 2.7.0 and restarting my pfSense, the following message
      PHP errors
      PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy.inc, Line: 1284, Message: Uncaught Error: Non-static method haproxy_utils::haproxy_hostname_get_prefix() cannot be called statically in /usr/local/pkg/haproxy/haproxy.inc:1284
      Stack trace:
      #0 /usr/local/pkg/haproxy/haproxy.inc(2195): write_backend('/var/etc/haprox...', Resource id #53, 'be_authelia_ipv...', Array, Array)
      #1 /usr/local/pkg/haproxy/haproxy.inc(2516): haproxy_writeconf('/var/etc/haprox...')
      #2 /usr/local/pkg/haproxy/haproxy.inc(1349): haproxy_check_run(1)
      #3 Standard input code(5): haproxy_configure()
      #4 {main}
      thrown @ 2023-08-14 13:40:16

      HA-Proxy-devel 0.63_1.
      I use HAProxy mainly as a reverse proxy for my self-hosted websites which can still be accessed without a problem, but it affects my Authelia bypass function, i.e. it no longer bypasses Authelia authentication as defined in Authelia config. Anyone has faced this issue and any solution?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I haven't seen that error here but you might try uninstalling the package and reinstalling it to be sure it has proper content. The function it's talking about is static, so I'm not sure why it might be saying it's not unless your copy of that file is somehow wrong.

        Also worth trying to move from haproxy-devel to haproxy though the PHP code is the same in both right now, so if there is a problem it may be the same in both places.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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