Magento 2 Zend 1 PHP Fatal error: require(): Failed opening required vendor/magento/zendframework1/library

Yegor Shytikov
Feb 27, 2022

--

Magento and Adobe Commerce use outdated PHP library that has big issues with modern PHP like composer or 8.1:

PHP Fatal error: require(): Failed opening required ‘/var/www/html/magento/vendor/composer/../../registration.php’ (include_path=’/var/www/html/magento/vendor/magento/zendframework1/library:.:/usr/share/pear:/usr/share/php’) in /var/www/html/magento/vendor/composer/autoload_real.php on line 73

Fix: check composer.json file in the root. Most probably it is deffected.

--

--

Yegor Shytikov
Yegor Shytikov

Written by Yegor Shytikov

True Stories about Magento 2. Melting down metal server infrastructure into cloud solutions.

No responses yet