Project

General

Profile

Regression #13661

Updated by Reid Linnemann over 1 year ago

On the firewall_shaper.php filerwall_shaper.php page, when I create a new shaper without setting a bandwidth I see this error: 

 <pre> 
 Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /etc/inc/shaper.inc:762 
 Stack trace: 
 #0 /etc/inc/shaper.inc(809): altq_root_queue->CheckBandwidth('', 'Mb') 
 #1 /usr/local/www/firewall_shaper.php(219): altq_root_queue->validate_input(Array, Array) 
 #2 {main} 
   thrown in /etc/inc/shaper.inc on line 762 
 PHP ERROR: Type: 1, File: /etc/inc/shaper.inc, Line: 762, Message: Uncaught TypeError: Unsupported operand types: string * int in /etc/inc/shaper.inc:762 
 Stack trace: 
 #0 /etc/inc/shaper.inc(809): altq_root_queue->CheckBandwidth('', 'Mb') 
 #1 /usr/local/www/firewall_shaper.php(219): altq_root_queue->validate_input(Array, Array) 
 #2 {main} 
   thrown 
 </pre> 

 Also, on the same page it is not possible to create one with CODELQ, as it both requires and disallows Qlimit in that case.

Back