Symptoms
On a Plesk server with Plesk Obsidian 18.0.51 Update 1, some operations in the extension Acronis Backup fail:
PLESK_ERROR: ERROR: Declaration of Modules_AcronisBackup_OperationsListAdapter::count() must be compatible with CommonPanel_View_List_Paginator_Array::count(): int (OperationsListAdapter.php:120)
Cause
Bug in the Acronis Backup extension CI-22922.
Previously, it was written like this:
Bug in the Acronis Backup extension CI-22922 which is planned to be fixed in the upcoming version 1.8.
However, Acronis Backup is already 1.8.7 but the bug CI-22922 is not mentioned in the change log of that extension.
Resolution
Until the bug is fixed, apply the following workaround:
-
Connect to the server via SSH.
-
Back up the original file
OperationsListAdapter.php
:# cp /usr/local/psa/admin/plib/modules/acronis-backup/library/OperationsListAdapter.php{,.backup}
-
Download the patched file attached to this article:
# wget https://support.plesk.com/hc/en-us/article_attachments/13753279190167/OperationsListAdapter.php
-
Replace the current file with the downloaded one:
# mv -f OperationsListAdapter.php /usr/local/psa/admin/plib/modules/acronis-backup/library/OperationsListAdapter.php
Comments
0 comments
Please sign in to leave a comment.