Bug #1106
closed
Added by Yehuda Katz almost 14 years ago.
Updated almost 14 years ago.
Description
I am not sure how important this is, but I saw this error flash by during boot:
Enabling voucher support...
Warning: Invalid argument supplied for foreach() in /etc/inc.voucher.inc on line 298
done
2.0-BETA4 (i386)
built on Wed Dec 15 07:09:54 EST 2010
Looking at the source code, it looks like that probably means you don't have any voucher rolls yet. However, this is still a bug that needs to be fixed.
- Category set to Captive Portal
- Target version set to 2.0
Erik Fonnesbeck wrote:
Looking at the source code, it looks like that probably means you don't have any voucher rolls yet. However, this is still a bug that needs to be fixed.
This is on a brand new install, I don't have anything yet.
I found that there was a change yesterday that unintentionally made it so that code would run when vouchers are disabled (and won't run when they are enabled). The case I mentioned is still something that could happen if vouchers were enabled and no voucher rolls were created yet, though.
- Status changed from New to Feedback
- % Done changed from 0 to 100
I have not seen this error on yesterday's BETA4.
I have rebooted twice just to be sure so I think it is safe to close this bug.
Cheers
Jon
- Status changed from Feedback to Resolved
Also available in: Atom
PDF