John Heenan Posted March 21, 2024 Report Posted March 21, 2024 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/...... 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 Quote
John Heenan Posted March 28, 2024 Author Report Posted March 28, 2024 Posted in wrong bug section. Have reposted in proper section and included a fix at Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.