• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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