I am upgrading our current site from 2.4.3-p1 to 2.4.4. I had to apply multiple patches for upgrading. However, while running di:compile, its give me error as below
MiBInterface "MagentoGraphQlHelperErrorExceptionMessageFormatterInterface" not found#0 /var/www/magento/vendor/composer/ClassLoader.php(571): include()
#1 /var/www/magento/vendor/composer/ClassLoader.php(428): ComposerAutoloadincludeFile('/var/www/magent...')
#2 [internal function]: ComposerAutoloadClassLoader->loadClass('Magento\Payment...')
#3 /var/www/magento/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(134): class_exists('Magento\Payment...')
#4 /var/www/magento/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(117): MagentoSetupModuleDiCodeReaderClassesScanner->includeClass('Magento\Payment...', '/var/www/magent...')
#5 /var/www/magento/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(87): MagentoSetupModuleDiCodeReaderClassesScanner->extract(Object(RecursiveIteratorIterator))
#6 /var/www/magento/setup/src/Magento/Setup/Module/Di/App/Task/Operation/RepositoryGenerator.php(61): MagentoSetupModuleDiCodeReaderClassesScanner->getList('/var/www/magent...')
#7 /var/www/magento/setup/src/Magento/Setup/Module/Di/App/Task/Manager.php(56): MagentoSetupModuleDiAppTaskOperationRepositoryGenerator->doOperation()
#8 /var/www/magento/setup/src/Magento/Setup/Console/Command/DiCompileCommand.php(216): MagentoSetupModuleDiAppTaskManager->process(Object(Closure), Object(Closure))
#9 /var/www/magento/vendor/symfony/console/Command/Command.php(255): MagentoSetupConsoleCommandDiCompileCommand->execute(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#10 /var/www/magento/vendor/symfony/console/Application.php(1009): SymfonyComponentConsoleCommandCommand->run(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#11 /var/www/magento/vendor/symfony/console/Application.php(273): SymfonyComponentConsoleApplication->doRunCommand(Object(MagentoSetupConsoleCommandDiCompileCommand), Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#12 /var/www/magento/vendor/magento/framework/Console/Cli.php(115): SymfonyComponentConsoleApplication->doRun(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#13 /var/www/magento/vendor/symfony/console/Application.php(149): MagentoFrameworkConsoleCli->doRun(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#14 /var/www/magento/bin/magento(23): SymfonyComponentConsoleApplication->run()
#15 {main}
When I check the module mentioned in error ie: MagentoGraphQlHelper, I see it has been removed from 2.4.4 and in my composer.json, the module is already under replace.
However, couple of classes still uses it. If I remove this entry, other error comes. I am unsure how to overcome/resolve this.
Any suggestion will be appreciated.