Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] Error in License API (local variable 'file' referenced before assignment) Preventing Add-on Usage #1347

Open
bs-timstans opened this issue Oct 29, 2024 · 0 comments

Comments

@bs-timstans
Copy link

Describe the bug
We are encountering an error when calling the license validation API at https://platform.cyberpersons.com/CyberpanelAdOns/Adonpermission.

The API returns the following response:
{"status": 0, "error_message": "local variable 'file' referenced before assignment"}

This error appears when we send the following POST body:
{ "name": "wp-manager", "IP": "IPSERVER" }

It seems there may be an issue with the internal processing of this API call, which is preventing our add-ons from functioning as expected due to a failure in license validation.

Operating system:
Ubuntu 22.04 LTS

CyberPanel version:
2.3.7

Additional context
Due to this error, we are currently unable to use our add-ons in CyberPanel, significantly impacting our workflow. We hope for a quick resolution to restore functionality.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant