OPNsense Forum

English Forums => 25.1, 25.4 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
Title: Re: VoucherController issue
Post by: sfty1 on October 03, 2025, 04:02:05 PM
Hello,

I was able to update to the lastest version (25.7.4), but the behaviour is the same.
As you can see in the screenshot, the vouchers are generated, but the error appears before and after the generation.
Even the list of vouchers in empty. The downloaded file is working, but die UI has an issue.

What can we do?

Thanks a lot.