Plesk can not be updated or is not accessible: Class Laminas\ServiceManager\Serv

Started by Administrator, Dec 29, 2022, 06:59 AM

Previous topic - Next topic

Administrator

Symptoms
Plesk update fails or Plesk panel cannot be accessed with the following message:
QuotePHP Fatal error: Class Laminas\ServiceManager\ServiceLocatorInterface cannot implement previously implemented interface Psr\Container\ContainerInterface in /opt/psa/admin/plib/modules/monitoring/vendor/laminas/laminas-servicemanager/src/ServiceLocatorInterface.php on line 18
Cause
The outdated version of the Monitoring extension is installed on the server.
Resolution
1.Connect to the server via SSH/RDP.

2.Update the Monitoring extension to the latest version with the command below in the SSH console or CMD/Windows Powershell:
#plesk bin extension --upgrade monitoring