Skip to content

setup:di:compile fails after updating to 2.4.4

I upgraded from 2.4.2 to 2.4.4. Everything seemed to work, until I ran setup:di:compile. I get this error: MiBClass ‘ZendI18nValidatorPhoneNumber’ not found#0 /var/www/html/magento2/vendor/composer/ClassLoader.php(571): include() #1 /var/www/html/magento2/vendor/composer/ClassLoader.php(428): ComposerAutoloadincludeFile() #2 [internal function]: ComposerAutoloadClassLoader->loadClass() #3 [internal function]: spl_autoload_call() #4 /var/www/html/magento2/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(134): class_exists() #5 /var/www/html/magento2/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(117):… Read More »setup:di:compile fails after updating to 2.4.4

“Directory is not under storage root path magento 2

module.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Module/etc/module.xsd”> <module name=”Greenplank_UploaderFix”> </module> </config> registration.php <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, ‘Greenplank_UploaderFix’, __DIR__ ); di.xml <?xml version=”1.0″ ?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <preference for=”MagentoFrameworkAppFilesystemDirectoryResolver” type=”GreenplankUploaderFixAppFilesystemDirectoryResolver”/> </config> DirectoryResolver.php <?php namespace GreenplankUploaderFixAppFilesystem; use MagentoFrameworkAppFilesystemDirectoryList; /** * Magento directories resolver. */… Read More »“Directory is not under storage root path magento 2