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.
Activity
Paul Phillips
created issue -
Jonathan Reissmueller
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Sprint | 5.10.0-b2 Sprint 1 [ 199 ] |
Abdy Franco
made changes -
Assignee | Abdy Franco [ abdy ] |
Abdy Franco
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Abdy Franco
made changes -
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 6 minutes [ 360 ] | |
Worklog Id | 16954 [ 16954 ] |
Abdy Franco
made changes -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Jonathan Reissmueller
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |