• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Zend_Log Error

yassow42

New Pleskian
Server operating system version
CentOS7
Plesk version and microupdate number
18
I can't log in to Plesk. Everything is working properly on my server... I cannot log in to the login page, I get a 500 error. I am trying to log in from http://ip:8880 port.


plesk repair all
PHP Warning: Class "Psr\Container\ContainerInterface" not found in /usr/local/psa/admin/plib/vendor/laminas/laminas-servicemanager/src/autoload.php on line 14
PHP Warning: Class "Psr\Container\ContainerExceptionInterface" not found in /usr/local/psa/admin/plib/vendor/laminas/laminas-servicemanager/src/autoload.php on line 17
PHP Warning: Class "Psr\Container\NotFoundExceptionInterface" not found in /usr/local/psa/admin/plib/vendor/laminas/laminas-servicemanager/src/autoload.php on line 20
PHP Fatal error: Uncaught Error: Class "Zend_Log" not found in /usr/local/psa/admin/plib/Plesk/Log.php:168
Stack trace:
#0 /usr/local/psa/admin/plib/PleskException.php(23): Plesk_Log::err('Class "Zend_Val...')
#1 /usr/local/psa/admin/plib/PleskException.php(13): report_crash('Class "Zend_Val...', Array, 'Error', 500, Object(Error))
#2 [internal function]: plesk_exception_handler(Object(Error))
#3 {main}
thrown in /usr/local/psa/admin/plib/Plesk/Log.php on line 168
exit status 255
[root@inigis ~]# -y
--bash: -y: komut yok
[root@inigis ~]# plesk repair all -y
PHP Warning: Class "Psr\Container\ContainerInterface" not found in /usr/local/psa/admin/plib/vendor/laminas/laminas-servicemanager/src/autoload.php on line 14
PHP Warning: Class "Psr\Container\ContainerExceptionInterface" not found in /usr/local/psa/admin/plib/vendor/laminas/laminas-servicemanager/src/autoload.php on line 17
PHP Warning: Class "Psr\Container\NotFoundExceptionInterface" not found in /usr/local/psa/admin/plib/vendor/laminas/laminas-servicemanager/src/autoload.php on line 20
PHP Fatal error: Uncaught Error: Class "Zend_Log" not found in /usr/local/psa/admin/plib/Plesk/Log.php:168
Stack trace:
#0 /usr/local/psa/admin/plib/PleskException.php(23): Plesk_Log::err('Class "Zend_Val...')
#1 /usr/local/psa/admin/plib/PleskException.php(13): report_crash('Class "Zend_Val...', Array, 'Error', 500, Object(Error))
#2 [internal function]: plesk_exception_handler(Object(Error))
#3 {main}
thrown in /usr/local/psa/admin/plib/Plesk/Log.php on line 168
exit status 255
 
The Plesk core package has probably been corrupted.

Depending on your Plesk version (replace the folder and file names with the correct names of the Plesk version you are actually using; in your header it only says "18" so I don't know which one you really use):
  1. Log into the server via SSH.
  2. Remove plesk-core package:
    # wget https://autoinstall.plesk.com/PSA_1...2.centos.7+p18.0.51.0+t230310.0814.x86_64.rpm
  3. Remove plesk-core package:
    # rpm -e plesk-core-18.0-2.centos.7+p18.0.51.0+t230310.0814.x86_64 --nodeps
  4. Install plesk-core package:
    # rpm -i plesk-core-18.0-2.centos.7+p18.0.51.0+t230310.0814.x86_64.rpm
  5. Restart sw-engine-service:
    # systemctl restart sw-engine-service
If you feel that this is a too difficult process, please contact Plesk support to let them do it for you. Refer them to KB "Unable to access Plesk: PHP Warning: Class "Psr\Container\ContainerInterface" not found in /usr/local/psa/admin/plib/vendor/laminas/laminas-servicemanager/src/autoload.php " or to this post.
 
Product version: Plesk Obsidian 18.0.58.2
OS version: CentOS 7.9.2009 x86_64
Build date: 2024/01/23 15:00
Revizyon: 37aa23e80de6aa54485384af35d425af8d131d4b

My server information is like this. I got a 404 error in the "wget url.." section. Can you write again?
 
Back
Top