Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.2
-
Component/s: None
-
Labels:None
Description
An error occurs when provisioning a service after upgrading Plesk to 2.14.0.
An internal error occurred. The module row is unavailable.
This happens because the module row has no account limit set.
To resolve
if (version_compare($current_version, '2.14.1', '<')) { if (!isset($this->ModuleManager)) { Loader::loadModels($this, ['ModuleManager']); } // Update all module rows to set limits $modules = $this->ModuleManager->getByClass('plesk'); foreach ($modules as $module) { $rows = $this->ModuleManager->getRows($module->id); foreach ($rows as $row) { $meta = (array)$row->meta; if (empty($meta[$this->module_row_field_limit])) { $meta[$this->module_row_field_limit] = ''; $meta[$this->module_row_field_total] = 0; $this->ModuleManager->editRow($row->id, $meta); } } } }
Activity
Jonathan Reissmueller
created issue -
Jonathan Reissmueller
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Sprint | 5.3.0 Sprint 4 [ 145 ] |
Jonathan Reissmueller
made changes -
Rank | Ranked lower |
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 | 19 minutes [ 1140 ] | |
Worklog Id | 15398 [ 15398 ] |
Abdy Franco
made changes -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Abdy Franco
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |