Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5156

Virtualmin: Upgrading/Downgrading a service results in an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.10.0-b2
    • Component/s: Modules
    • Labels:
      None

      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

        There are no comments yet on this issue.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/May/24

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 6 minutes
              6m

                Agile