VoucherController issue

Started by sfty1, April 02, 2025, 03:22:50 PM

Previous topic - Next topic
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


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

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.

> 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

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.