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

    PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy.inc

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 92 Views
    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.
    • Sergei_ShablovskyS
      Sergei_Shablovsky
      last edited by

      Dear pfSense Gurus!

      Is anyone able to explain the source of this repeated error (pfSense CE, latest with all official patches):

      PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy.inc, Line: 1542, Message: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /usr/local/pkg/haproxy/haproxy.inc:1542
      Stack trace:
      #0 /usr/local/pkg/haproxy/haproxy.inc(1542): fwrite()
      #1 /usr/local/pkg/haproxy/haproxy.inc(2516): haproxy_writeconf()
      #2 /usr/local/pkg/haproxy/haproxy.inc(1349): haproxy_check_run()
      #3 Standard input code(5): haproxy_configure()
      #4 {main}
        thrown
      

      After cold reboot this error disappear.

      After 10-30 days this error appear again.

      Disks system and controller are double checked twice: no errors.

      Thank You all!

      —
      CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
      Help Ukraine to resist, save civilians people’s lives !
      (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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