"CApplicationComponent" not found

After uploading and setup:upgrade, I run  magento setup:di:compile and I get this error….

1/9 [===>------------------------]  11% 1 sec 111.0 MiBClass "CApplicationComponent" not found#0 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(136): require_once()

#1 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(117): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->includeClass('CDbStatePersist...', '/var/www/html/a...')
#2 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(87): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->extract(Object(RecursiveIteratorIterator))
#3 /var/www/html/setup/src/Magento/Setup/Module/Di/App/Task/Operation/RepositoryGenerator.php(61): Magento\Setup\Module\Di\Code\Reader\ClassesScanner->getList('/var/www/html/a...')
#4 /var/www/html/setup/src/Magento/Setup/Module/Di/App/Task/Manager.php(56): Magento\Setup\Module\Di\App\Task\Operation\RepositoryGenerator->doOperation()
#5 /var/www/html/setup/src/Magento/Setup/Console/Command/DiCompileCommand.php(216): Magento\Setup\Module\Di\App\Task\Manager->process(Object(Closure), Object(Closure))
#6 /var/www/html/vendor/symfony/console/Command/Command.php(255): Magento\Setup\Console\Command\DiCompileCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

 

2 answers

Profile photo of Mall Staff 180840.00 $tone July 11, 2022
Public

Hi there,

After uploading and setup:upgrade, I run  magento setup:di:compile and I get this error….

It seems that you got an issue with folders/files permission while installing our migration tool.
 
Please provide me with information about your instance, I will take a closer look and help you:
+ Admin credentials and URL to the backend
+ SSH credentials and let me know the path to the M2 folder
 

Regards,
Mall.

#1

Please login or Register to Submit Answer

Written By

Comments