- Server operating system version
- Centos 7.9
- Plesk version and microupdate number
- Plesk Obsidian v18.0.57
By copying needed .h files I have managed to install php memcached extension. But it did not run properly so I have decided to uninstall from console and plesk, it gives the same error.
# /opt/plesk/php/7.4/bin/pecl uninstall memcached
PHP Fatal error: Uncaught Error: Cannot use object of type PEAR_Error as array in /opt/plesk/php/7.4/share/pear/PEAR/Dependency2.php:1036
Stack trace:
#0 /opt/plesk/php/7.4/share/pear/PEAR/Installer.php(1669): PEAR_Dependency2->validatePackageUninstall()
#1 /opt/plesk/php/7.4/share/pear/PEAR/Command/Install.php(997): PEAR_Installer->uninstall()
#2 /opt/plesk/php/7.4/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doUninstall()
#3 /opt/plesk/php/7.4/share/pear/pearcmd.php(310): PEAR_Command_Common->run()
#4 /opt/plesk/php/7.4/share/pear/peclcmd.php(32): require_once('/opt/plesk/php/...')
#5 {main}
# /opt/plesk/php/7.4/bin/pecl uninstall memcached
PHP Fatal error: Uncaught Error: Cannot use object of type PEAR_Error as array in /opt/plesk/php/7.4/share/pear/PEAR/Dependency2.php:1036
Stack trace:
#0 /opt/plesk/php/7.4/share/pear/PEAR/Installer.php(1669): PEAR_Dependency2->validatePackageUninstall()
#1 /opt/plesk/php/7.4/share/pear/PEAR/Command/Install.php(997): PEAR_Installer->uninstall()
#2 /opt/plesk/php/7.4/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doUninstall()
#3 /opt/plesk/php/7.4/share/pear/pearcmd.php(310): PEAR_Command_Common->run()
#4 /opt/plesk/php/7.4/share/pear/peclcmd.php(32): require_once('/opt/plesk/php/...')
#5 {main}