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

    Traffic shaper error with latest changes

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    6 Posts 2 Posters 2.0k 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.
    • G
      grandrivers
      last edited by

      Fatal error: Call to a member function GetInterface() on null in /etc/inc/shaper.inc on line 254 Call Stack: 0.0055 233224 1. {main}() /usr/local/www/firewall_shaper.php:0 0.1017 1777672 2. read_altq_config() /usr/local/www/firewall_shaper.php:79 0.1020 1783128 3. altq_root_queue->add_queue() /etc/inc/shaper.inc:4553 0.1049 1799480 4. hfsc_queue->add_queue() /etc/inc/shaper.inc:591 0.1051 1805080 5. hfsc_queue->validate_input() /etc/inc/shaper.inc:1757 0.1051 1805080 6. priq_queue->validate_input() /etc/inc/shaper.inc:1931 0.1054 1805816 7. altq_root_queue->GetTotalBw() /etc/inc/shaper.inc:1230 0.1054 1805912 8. priq_queue->GetTotalBw() /etc/inc/shaper.inc:431 0.1054 1805960 9. get_obj_bandwidth() /etc/inc/shaper.inc:1038 0.1055 1806688 10. get_interface_bandwidth() /etc/inc/shaper.inc:218 PHP ERROR: Type: 1, File: /etc/inc/shaper.inc, Line: 254, Message: Call to a member function GetInterface() on null

      pfsense plus 25.03 super micro A1SRM-2558F
      C2558 32gig ECC  60gig SSD

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

        I hit the same thing on one (out of 12) of my test setups. I just pushed a band-aid for it, though it still needs some review.

        You might be able to get by with clearing out the shaper from the console (though this may also break…):

        pfSsh.php playback removeshaper
        

        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 0
        • G
          grandrivers
          last edited by

          gitsync worked

          pfsense plus 25.03 super micro A1SRM-2558F
          C2558 32gig ECC  60gig SSD

          1 Reply Last reply Reply Quote 0
          • G
            grandrivers
            last edited by

            spoke too soon removed shaper and wizard gives

            Crash report begins.  Anonymous machine information:

            amd64
            10.3-RC3
            FreeBSD 10.3-RC3 #480 745e97f(RELENG_2_3): Wed Mar 23 06:49:32 CDT 2016    root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense

            Crash report details:

            PHP Errors:
            [23-Mar-2016 15:02:09 America/New_York] PHP Catchable fatal error:  Object of class hfsc_queue could not be converted to string in /etc/inc/shaper.inc on line 1759
            [23-Mar-2016 15:02:09 America/New_York] PHP Stack trace:
            [23-Mar-2016 15:02:09 America/New_York] PHP  1. {main}() /usr/local/www/wizard.php:0
            [23-Mar-2016 15:02:09 America/New_York] PHP  2. eval() /usr/local/www/wizard.php:155
            [23-Mar-2016 15:02:09 America/New_York] PHP  3. step8_stepsubmitphpaction() /usr/local/www/wizard.php(155) : eval()'d code:1
            [23-Mar-2016 15:02:09 America/New_York] PHP  4. apply_all_chosen_items() /usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc:718
            [23-Mar-2016 15:02:09 America/New_York] PHP  5. hfsc_queue->add_queue() /usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc:1345
            [23-Mar-2016 15:02:09 America/New_York] PHP  6. sprintf() /etc/inc/shaper.inc:1759

            pfsense plus 25.03 super micro A1SRM-2558F
            C2558 32gig ECC  60gig SSD

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

              That one is still being worked on, it's already on the open ticket: https://redmine.pfsense.org/issues/5721#note-19

              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 0
              • G
                grandrivers
                last edited by

                ok sorry haven't kept up with tickets my internets been hit and miss today even with dual wan maybe figure what i missed in Friday hangout

                pfsense plus 25.03 super micro A1SRM-2558F
                C2558 32gig ECC  60gig SSD

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