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

    Traffic Shaping fatal error: Object of class hfsc_queue could not be converted..

    Scheduled Pinned Locked Moved Traffic Shaping
    7 Posts 3 Posters 1.5k 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.
    • T
      trans_lux
      last edited by

      Hello
      Recently started playing with Traffic Shaping.
      I ran Multiple Lan/Wan wizard, entered in all the values and upon hitting finish I'm redirected to the following page/error.

      Catchable fatal error: Object of class hfsc_queue could not be converted to string in /etc/inc/shaper.inc on line 1437

      I searched but could only find references from many years ago pertaining to RC releases.

      Would greatly appreciate some help on this matter.

      Thanks in advance

      TL

      Crash report begins.  Anonymous machine information:

      amd64
      8.3-RELEASE-p11
      FreeBSD 8.3-RELEASE-p11 #1: Wed Sep 11 18:59:48 EDT 2013    root@snapshots-8_3-amd64.builders.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8

      Crash report details:

      PHP Errors:
      [13-May-2015 23:31:55 America/Chicago] PHP Catchable fatal error:  Object of class hfsc_queue could not be converted to string in /etc/inc/shaper.inc on line 1437 Filename: /var/crash/minfree 2048

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Start playing with up-to-date release.

        1 Reply Last reply Reply Quote 0
        • T
          trans_lux
          last edited by

          @doktornotor:

          Start playing with up-to-date release.

          I upgraded to latest version. After you mentioned this I checked and uptime had not changed.
          Box would not reboot through the GUI or even a local console.
          Had to physically power down/up the box.
          Still getting the same error, at least it now shows the current version.

          Crash report begins.  Anonymous machine information:

          amd64
          10.1-RELEASE-p9
          FreeBSD 10.1-RELEASE-p9 #0 57b23e7(releng/10.1)-dirty: Mon Apr 13 20:30:25 CDT 2015    root@pfs22-amd64-builder:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_SMP.10

          Crash report details:

          PHP Errors:
          [14-May-2015 00:15:21 America/Chicago] PHP Catchable fatal error:  Object of class hfsc_queue could not be converted to string in /etc/inc/shaper.inc on line 1437

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Do a fresh 2.2.2 or later install.

            1 Reply Last reply Reply Quote 0
            • T
              trans_lux
              last edited by

              @doktornotor:

              Do a fresh 2.2.2 or later install.

              I was trying to avoid this as I'm remote.
              Every-time I do an update a package or two gets hosed. Also in many cases restoring from a backup has gone south and have to start from scratch.

              1 Reply Last reply Reply Quote 0
              • M
                mcwtim
                last edited by

                Proper upgrade procedure is to backup your config, uninstall any packages, do your upgrade, reinstall your packages then re-import your config.

                1 Reply Last reply Reply Quote 0
                • T
                  trans_lux
                  last edited by

                  @mcwtim:

                  Proper upgrade procedure is to backup your config, uninstall any packages, do your upgrade, reinstall your packages then re-import your config.

                  RTFM  ;) Thank you, all this time and I did not know that.
                  What must have happened was that I tried to setup traffic shaping on the old release, it failed, updated to latest, re-ran the traffic wizard and failed.
                  Could have been that the box did not reboot. Couldn't get to a prompt on the local console .Had to have someone on site hit the power button.

                  Client is still up.
                  I'll build a new box and ship it to them.

                  Thanks again

                  TL

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