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): MagentoSetupModuleDiCodeReaderClassesScanner->includeClass()
#6 /var/www/html/magento2/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(87): MagentoSetupModuleDiCodeReaderClassesScanner->extract()
#7 /var/www/html/magento2/setup/src/Magento/Setup/Module/Di/App/Task/Operation/RepositoryGenerator.php(61): MagentoSetupModuleDiCodeReaderClassesScanner->getList()
#8 /var/www/html/magento2/setup/src/Magento/Setup/Module/Di/App/Task/Manager.php(56): MagentoSetupModuleDiAppTaskOperationRepositoryGenerator->doOperation()
#9 /var/www/html/magento2/setup/src/Magento/Setup/Console/Command/DiCompileCommand.php(216): MagentoSetupModuleDiAppTaskManager->process()
#10 /var/www/html/magento2/vendor/symfony/console/Command/Command.php(255): MagentoSetupConsoleCommandDiCompileCommand->execute()
#11 /var/www/html/magento2/vendor/symfony/console/Application.php(1009): SymfonyComponentConsoleCommandCommand->run()
#12 /var/www/html/magento2/vendor/symfony/console/Application.php(273): SymfonyComponentConsoleApplication->doRunCommand()
#13 /var/www/html/magento2/vendor/magento/framework/Console/Cli.php(115): SymfonyComponentConsoleApplication->doRun()
#14 /var/www/html/magento2/vendor/symfony/console/Application.php(149): MagentoFrameworkConsoleCli->doRun()
#15 /var/www/html/magento2/bin/magento(23): SymfonyComponentConsoleApplication->run()
#16 {main}

I haven’t found any answers by searching, and I’m not sure where to look – can anybody give me any pointers?

Thanks