Jump to content

Error upgrading/downgrading plan with Virtualmin module of Blesta


Recommended Posts

Posted

Issue is unable to change plan used on Virtualmin, with Virtualmin module through Blesta, with upgrade/downgrade.

Two stage manual change is a workaround (change without module on Blesta and then change directly on Virtualmin)

Steps to reproduce are: Client, Service, Manage, Upgrade/Downgrade, change package/term (with Use module ticked -module is Virtualmin), Save

URL page before error is .../admin/clients/editservice/......

image.png.4cec42539534d166901a637089017f59.png

Result is HTTP 500 error

Blesta general error in logs:

general.ERROR: Uncaught Exception TypeError: "array_key_exists(): Argument #2 ($array) must be of type array, stdClass given" at .../blesta/components/modules/virtualmin/virtualmin.php line 867 {"exception":"[object] (TypeError(code: 0): array_key_exists(): Argument #2 ($array) must be of type array, stdClass given at .../blesta/components/modules/virtualmin/virtualmin.php:867)"}

OS is Debian 12, Blesta version is 5.9.3, PHP version is 8.2.7, Blesta Virtualmin module version is 1.8.0

Other than this Blesta is working well enough with Virtualmin. If an operation with Virtualmin takes a long time then the web request times out with the log entry in Blesta showing the truncated response, even if the request to Virtualmin succeeds in full. This is NOT the issue here. With this issue Blesta does not even get as far as launching a request to Virtualmin

John

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...