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

    pfsense 2.4.4 - traffic shapper: Call to undefined method altq_root_queue::GetParent()

    General pfSense Questions
    2
    4
    485
    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.
    • P
      Playmobil
      last edited by Playmobil

      I have a pfsense 2.4.4-p1 installed and configured with traffic shape active, but today I went to "Firewall ->Traffic shapper" and changed to HFSC, and as soon i click Ok, pfsense crashed with the following error:

      PHP errors
          PHP ERROR: Type: 1, File: /etc/inc/shaper.inc, Line: 517, Message: Uncaught Error: Call to undefined method altq_root_queue::GetParent() in /etc/inc/shaper.inc:517
          Stack trace:
          #0 /etc/inc/shaper.inc(1301): get_queue_bandwidth(Object(altq_root_queue))
          #1 /etc/inc/shaper.inc(1515): priq_queue->CheckBandwidth(NULL, NULL)
          #2 /etc/inc/shaper.inc(3229): priq_queue->validate_input(Array, NULL)
          #3 /etc/inc/shaper.inc(854): fairq_queue->validate_input(Array, NULL)
          #4 /etc/inc/shaper.inc(5047): altq_root_queue->add_queue('opt1', Array, Array, NULL)
          #5 /usr/local/www/firewall_shaper.php(46): read_altq_config()
          #6 {main}
          thrown @ 2019-03-29 16:47:46
          PHP ERROR: Type: 1, File: /etc/inc/shaper.inc, Line: 517, Message: Uncaught Error: Call to undefined method altq_root_queue::GetParent() in /etc/inc/shaper.inc:517
          Stack trace:
          #0 /etc/inc/shaper.inc(1301): get_queue_bandwidth(Object(altq_root_queue))
          #1 /etc/inc/shaper.inc(1515): priq_queue->CheckBandwidth(NULL, NULL)
          #2 /etc/inc/shaper.inc(3229): priq_queue->validate_input(Array, NULL)
          #3 /etc/inc/shaper.inc(854): fairq_queue->validate_input(Array, NULL)
          #4 /etc/inc/shaper.inc(5047): altq_root_queue->add_queue('opt1', Array, Array, NULL)
          #5 /usr/local/www/firewall_shaper.php(46): read_altq_config()
          #6 {main}
          thrown @ 2019-03-29 16:52:52
          PHP ERROR: Type: 1, File: /etc/inc/shaper.inc, Line: 517, Message: Uncaught Error: Call to undefined method altq_root_queue::GetParent() in /etc/inc/shaper.inc:517
          Stack trace:
          #0 /etc/inc/shaper.inc(1301): get_queue_bandwidth(Object(altq_root_queue))
          #1 /etc/inc/shaper.inc(1515): priq_queue->CheckBandwidth(NULL, NULL)
          #2 /etc/inc/shaper.inc(3229): priq_queue->validate_input(Array, NULL)
          #3 /etc/inc/shaper.inc(854): fairq_queue->validate_input(Array, NULL)
          #4 /etc/inc/shaper.inc(5047): altq_root_queue->add_queue('opt1', Array, Array, NULL)
          #5 /usr/local/www/firewall_shaper.php(46): read_altq_config()
          #6 {main}
          thrown @ 2019-03-29 16:56:11
      

      Now i can't go to "firewall -> traffic shapper", everytime i click on "Firewall -> Traffic shapper" the following error apears:

      Fatal error: Uncaught Error: Call to undefined method altq_root_queue::GetParent() in /etc/inc/shaper.inc:517 Stack trace: #0 /etc/inc/shaper.inc(1301): get_queue_bandwidth(Object(altq_root_queue)) #1 /etc/inc/shaper.inc(1515): priq_queue->CheckBandwidth(NULL, NULL)
      

      How can I revert the configuration? is there any CLI command to reset traffic shapper or disable ?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Diagnostics - Backup & Restore - Config History. You can restore previous configs from there.

        P 1 Reply Last reply Reply Quote 1
        • P
          Playmobil @KOM
          last edited by Playmobil

          @KOM Thank you very much, it fixed the problem.

          I've missed this simple step, thank you again for the very fast answer.

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            A harder way would have been to export your current config, edit out the traffic shaper details, reset your instance back to factory defaults and then imported the edited config.

            Glad you got it going again.

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