Details
Description
Reported here: https://www.blesta.com/forums/index.php?/topic/25638-error-upgradingdowngrading-plan-with-virtualmin-module-of-blesta/#comment-82613
Seems to be an issue with PHP 8 and upgrading or downgrading a Virtualmin service. Reported solution was to:
Around line 867 in file /components/modules/virtualmin/virtualmin.php
replace:
if (!array_key_exists($key, $service_fields) || $vars[$key] != $service_fields->$key) {
with:
if (!array_key_exists($key, (array)$service_fields) || $vars[$key] != $service_fields->$key) {
Steps to reproduce included in the ticket thread, I have not been able to independently confirm this as of yet.