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



  • 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


  • Banned

    Start playing with up-to-date release.



  • @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


  • Banned

    Do a fresh 2.2.2 or later install.



  • @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.



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



  • @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


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy