Symptoms
Some operations in the Acronis Backup extension in Plesk Obsidian 18.0.51 #1 fail with:
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 with ID CI-22922 which is planned to be fixed in the upcoming version 1.8.
Resolution
Until the bug is fixed, apply the following workaround:
-
Connect to the server via SSH.
-
Back up the original
OperationsListAdapter.php
file:# cp /usr/local/psa/admin/plib/modules/acronis-backup/library/OperationsListAdapter.php{,.backup}
-
Download the attached file with the patch:
# 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