Traffic shaper error with latest changes
-
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
-
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
-
gitsync worked
-
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/pfSenseCrash 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 -
That one is still being worked on, it's already on the open ticket: https://redmine.pfsense.org/issues/5721#note-19
-
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