cancel
Showing results for 
Search instead for 
Did you mean: 

setup:di:compile Issuse

setup:di:compile Issuse

Does anyone know how to fix it? Thank you!

 

 

php -f bin/magento setup:di:compile -vvv
Compilation was started.
Proxies code generation... 0/7 [>---------------------------]   0% < 1 sec 34.0 Proxies code generation... 1/7 [====>-----------------------]  14% 1 sec 36.0 MiRepositories code generation... 1/7 [====>-----------------------]  14% 1 sec 36.0 MiB

  [Exception]
  Warning: Narrowing occurred during type inference. Please file a bug report
   on bugs.php.net in /home/xxxx/public_html/vendor/composer/ClassLoader.
  php on line 444


Exception trace:
 () at /home/xxxx/public_html/vendor/magento/framework/App/ErrorHandler.php:61
 Magento\Framework\App\ErrorHandler->handler() at /home/xxxx/public_html/vendor/composer/ClassLoader.php:444
 include() at /home/xxxx/public_html/vendor/composer/ClassLoader.php:444
 Composer\Autoload\includeFile() at /home/xxxx/public_html/vendor/composer/ClassLoader.php:322
 Composer\Autoload\ClassLoader->loadClass() at n/a:n/a
 spl_autoload_call() at n/a:n/a
 class_exists() at /home/xxxx/public_html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php:122
 Magento\Setup\Module\Di\Code\Reader\ClassesScanner->includeClasses() at /home/xxxx/public_html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php:108
 Magento\Setup\Module\Di\Code\Reader\ClassesScanner->extract() at /home/xxxx/public_html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php:79
 Magento\Setup\Module\Di\Code\Reader\ClassesScanner->getList() at /home/xxxx/public_html/setup/src/Magento/Setup/Module/Di/App/Task/Operation/RepositoryGenerator.php:61
 Magento\Setup\Module\Di\App\Task\Operation\RepositoryGenerator->doOperation() at /home/xxxx/public_html/setup/src/Magento/Setup/Module/Di/App/Task/Manager.php:56
 Magento\Setup\Module\Di\App\Task\Manager->process() at /home/xxxx/public_html/setup/src/Magento/Setup/Console/Command/DiCompileCommand.php:205
 Magento\Setup\Console\Command\DiCompileCommand->execute() at /home/xxxx/public_html/vendor/symfony/console/Command/Command.php:242
 Symfony\Component\Console\Command\Command->run() at /home/xxxx/public_html/vendor/symfony/console/Application.php:842
 Symfony\Component\Console\Application->doRunCommand() at /home/xxxx/public_html/vendor/symfony/console/Application.php:193
 Symfony\Component\Console\Application->doRun() at /home/xxxx/public_html/vendor/magento/framework/Console/Cli.php:104
 Magento\Framework\Console\Cli->doRun() at /home/xxxx/public_html/vendor/symfony/console/Application.php:117
 Symfony\Component\Console\Application->run() at /home/xxxx/public_html/bin/magento:23

setup:di:compile

 

1 REPLY 1

Re: setup:di:compile Issuse

Hi @rigu12,

 

Which version of Magento and PHP are you using?