Error message on WebGUI after SSH was enabled
-
2.0-RC1 (i386)
built on Mon Feb 14 03:24:30 EST 2011
nanobsd (512mb)
On ALIX 2D3
No wireless card installedAfter enabling SSH in the WebGUI this error message is being displayed.
Warning: Missing argument 1 for print_notices(), called in /usr/local/www/fbegin.inc on line 392 and defined in /etc/inc/notices.inc on line 201 Warning: Invalid argument supplied for foreach() in /etc/inc/notices.inc on line 202 Warning: array_unique(): The argument should be an array in /etc/inc/notices.inc on line 209 Warning: sort() expects parameter 1 to be array, boolean given in /etc/inc/notices.inc on line 210 Warning: Invalid argument supplied for foreach() in /etc/inc/notices.inc on line 211
Thanks for the help
–Gary -
What's odd is that code hadn't changed since 2005 (in either case) so I'm not sure how that ever worked. I committed a fix, hopefully it does the trick.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.