• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Magento Installation

othmaqsa

Regular Pleskian
Server operating system version
Ubuntu
Plesk version and microupdate number
Last version
Hello,

I'm trying to test the Magento installation on a temporary domain. During the installation, I encountered the following error:

PHP extension
The 'mcrypt' extension was not found.

What do I need to do to resolve this?

Thanks!
 
Hello,

Thank you for your message.

I'm now encountering another error during the installation.


Code:
The following error has occurred during the installation of application: Installation of magento at https://staging-magento.xxxxxxxxxxx.com/ failed. Non-zero exit status returned by script. Output stream: 'PHP Fatal error:  During inheritance of Countable: Uncaught Exception: Deprecated Functionality: Return type of Zend\Stdlib\PriorityQueue::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-stdlib/src/PriorityQueue.php on line 128 in /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-stdlib/src/PriorityQueue.php(28): Magento\Framework\App\ErrorHandler->handler()
#1 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/composer/ClassLoader.php(412): include('...')
#2 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile()
#3 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(278): Composer\Autoload\ClassLoader->loadClass()
#4 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-modulemanager/src/Listener/ModuleLoaderListener.php(63): Zend\EventManager\EventManager->attach()
#5 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(302): Zend\ModuleManager\Listener\ModuleLoaderListener->attach()
#6 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(256): Zend\EventManager\EventManager->attachAggregate()
#7 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-modulemanager/src/Listener/DefaultListenerAggregate.php(46): Zend\EventManager\EventManager->attach()
#8 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(302): Zend\ModuleManager\Listener\DefaultListenerAggregate->attach()
#9 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(256): Zend\EventManager\EventManager->attachAggregate()
#10 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-mvc/src/Service/ModuleManagerFactory.php(132): Zend\EventManager\EventManager->attach()
#11 [internal function]: Zend\Mvc\Service\ModuleManagerFactory->createService()
#12 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(939): call_user_func()
#13 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1097): Zend\ServiceManager\ServiceManager->createServiceViaCallback()
#14 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(638): Zend\ServiceManager\ServiceManager->createFromFactory()
#15 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(598): Zend\ServiceManager\ServiceManager->doCreate()
#16 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create()
#17 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-mvc/src/Application.php(253): Zend\ServiceManager\ServiceManager->get()
#18 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/magento/framework/Console/Cli.php(57): Zend\Mvc\Application::init()
#19 /opt/psa/var/apspackages/adiptepd8n2unhu3TmmGI6.zip34a16661-e/cache/scripts/Magento.php(24): Magento\Framework\Console\Cli->__construct()
#20 /opt/psa/var/apspackages/adiptepd8n2unhu3TmmGI6.zip34a16661-e/cache/scripts/MagentoInstaller.php(39): Magetno->doCommand()
#21 /opt/psa/var/apspackages/adiptepd8n2unhu3TmmGI6.zip34a16661-e/cache/scripts/configure(43): MagentoInstaller->doSetupInstall()
#22 {main} in /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-stdlib/src/PriorityQueue.php on line 28
'. Error stream: 'PHP Fatal error:  During inheritance of Countable: Uncaught Exception: Deprecated Functionality: Return type of Zend\Stdlib\PriorityQueue::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-stdlib/src/PriorityQueue.php on line 128 in /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-stdlib/src/PriorityQueue.php(28): Magento\Framework\App\ErrorHandler->handler()
#1 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/composer/ClassLoader.php(412): include('...')
#2 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile()
#3 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(278): Composer\Autoload\ClassLoader->loadClass()
#4 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-modulemanager/src/Listener/ModuleLoaderListener.php(63): Zend\EventManager\EventManager->attach()
#5 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(302): Zend\ModuleManager\Listener\ModuleLoaderListener->attach()
#6 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(256): Zend\EventManager\EventManager->attachAggregate()
#7 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-modulemanager/src/Listener/DefaultListenerAggregate.php(46): Zend\EventManager\EventManager->attach()
#8 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(302): Zend\ModuleManager\Listener\DefaultListenerAggregate->attach()
#9 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(256): Zend\EventManager\EventManager->attachAggregate()
#10 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-mvc/src/Service/ModuleManagerFactory.php(132): Zend\EventManager\EventManager->attach()
#11 [internal function]: Zend\Mvc\Service\ModuleManagerFactory->createService()
#12 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(939): call_user_func()
#13 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1097): Zend\ServiceManager\ServiceManager->createServiceViaCallback()
#14 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(638): Zend\ServiceManager\ServiceManager->createFromFactory()
#15 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(598): Zend\ServiceManager\ServiceManager->doCreate()
#16 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create()
#17 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-mvc/src/Application.php(253): Zend\ServiceManager\ServiceManager->get()
#18 /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/magento/framework/Console/Cli.php(57): Zend\Mvc\Application::init()
#19 /opt/psa/var/apspackages/adiptepd8n2unhu3TmmGI6.zip34a16661-e/cache/scripts/Magento.php(24): Magento\Framework\Console\Cli->__construct()
#20 /opt/psa/var/apspackages/adiptepd8n2unhu3TmmGI6.zip34a16661-e/cache/scripts/MagentoInstaller.php(39): Magetno->doCommand()
#21 /opt/psa/var/apspackages/adiptepd8n2unhu3TmmGI6.zip34a16661-e/cache/scripts/configure(43): MagentoInstaller->doSetupInstall()
#22 {main} in /var/www/vhosts/xxxxxxxxxxx.com/staging-magento.xxxxxxxxxxx.com/vendor/zendframework/zend-stdlib/src/PriorityQueue.php on line 28
'.

Do you have any idea what might be causing it?
 
Please provide additional context. What actions were performed when the error was observed?
 
Back
Top