OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: sfty1 on April 02, 2025, 03:22:50 PM

Title: VoucherController issue
Post by: sfty1 on April 02, 2025, 03:22:50 PM
Hi,

I'm getting the following error when entering /ui/captiveportal/voucher:


Too few arguments to function OPNsense\CaptivePortal\Api\VoucherController::listVouchersAction(), 1 passed and exactly 2 expected

Voucher generation works. But I cannot display the already existing vouchers. This error persists since multiple updates.
Is there any known issue? I didn't find anything.

Thanks

Title: Re: VoucherController issue
Post by: franco on April 02, 2025, 05:09:03 PM
Which version are you on now? Can't see a problem with the page. Are you sure it's not a browser plugin or proxy messing with the request?


Cheers,
Franco
Title: Re: VoucherController issue
Post by: sfty1 on April 03, 2025, 03:12:00 PM
I'm still running on OPNsense 24.1.9_4-amd64 but will update it soon.
I guess that the error will be there, even after the update.
Title: Re: VoucherController issue
Post by: franco on April 04, 2025, 08:20:29 AM
> I guess that the error will be there, even after the update.

I checked the changelog and I don't see evidence of a fix in that corner either.

Versions are important, since you post this in the 25.1 forum ;)


Cheers,
Franco