cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error: opening ...composer ....../module-robots/registration.php

Fatal error: opening ...composer ....../module-robots/registration.php

Hi,

 

I upgraded magento 2 from version 2.1.10 to version 2.1.12 and at the end,

when I use the command :
php bin/magento  ...

it returns the following error always:

$ php bin/magento setup:upgrade
PHP Warning: require(C:\xampp\htdocs\welcome\vendor\composer/../magento/module-
robots/registration.php): failed to open stream: No such file or directory in C:
\xampp\htdocs\welcome\vendor\composer\autoload_real.php on line 71
PHP Stack trace:
PHP 1. {main}() C:\xampp\htdocs\welcome\bin\magento:0
PHP 2. require() C:\xampp\htdocs\welcome\bin\magento:14
PHP 3. require_once() C:\xampp\htdocs\welcome\app\bootstrap.php:30
PHP 4. include() C:\xampp\htdocs\welcome\app\autoload.php:30
PHP 5. ComposerAutoloaderInit3444290875b43401beb82514693b52fa::getLoader() C:\
xampp\htdocs\welcome\vendor\autoload.php:7
PHP 6. composerRequire3444290875b43401beb82514693b52fa() C:\xampp\htdocs\welco
me\vendor\composer\autoload_real.php:61

Warning: require(C:\xampp\htdocs\welcome\vendor\composer/../magento/module-robot
s/registration.php): failed to open stream: No such file or directory in C:\xamp
p\htdocs\welcome\vendor\composer\autoload_real.php on line 71

Call Stack:
0.2044 352840 1. {main}() C:\xampp\htdocs\welcome\bin\magento:0
0.2056 360944 2. require('C:\xampp\htdocs\welcome\app\bootstrap.php')
C:\xampp\htdocs\welcome\bin\magento:14
0.2068 367288 3. require_once('C:\xampp\htdocs\welcome\app\autoload.ph
p') C:\xampp\htdocs\welcome\app\bootstrap.php:30
0.2093 368632 4. include('C:\xampp\htdocs\welcome\vendor\autoload.php'
) C:\xampp\htdocs\welcome\app\autoload.php:30
0.2113 383448 5. ComposerAutoloaderInit3444290875b43401beb82514693b52f
a::getLoader() C:\xampp\htdocs\welcome\vendor\autoload.php:7
0.2555 759632 6. composerRequire3444290875b43401beb82514693b52fa() C:\
xampp\htdocs\welcome\vendor\composer\autoload_real.php:61

PHP Fatal error: require(): Failed opening required 'C:\xampp\htdocs\welcome\ve
ndor\composer/../magento/module-robots/registration.php' (include_path='C:\xampp
\htdocs\welcome\vendor/magento/zendframework1/library;C:\xampp\htdocs\welcome\ve
ndor/phpunit/php-file-iterator;C:\xampp\htdocs\welcome\vendor/phpunit/phpunit;C:
\xampp\htdocs\welcome\vendor/symfony/yaml;C:\xampp\php\PEAR') in C:\xampp\htdocs
\welcome\vendor\composer\autoload_real.php on line 71
PHP Stack trace:
PHP 1. {main}() C:\xampp\htdocs\welcome\bin\magento:0
PHP 2. require() C:\xampp\htdocs\welcome\bin\magento:14
PHP 3. require_once() C:\xampp\htdocs\welcome\app\bootstrap.php:30
PHP 4. include() C:\xampp\htdocs\welcome\app\autoload.php:30
PHP 5. ComposerAutoloaderInit3444290875b43401beb8251469PHP 6. composerRequir
e3444290875b43401beb82514693b52fa() C:\xampp\htdocs\welcome\vendor\composer\auto
load_real.php:61

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\welcome\vendor\
composer/../magento/module-robots/registration.php' (include_path='C:\xampp\htdo
cs\welcome\vendor/magento/zendframework1/library;C:\xampp\htdocs\welcome\vendor/
phpunit/php-file-iterator;C:\xampp\htdocs\welcome\vendor/phpunit/phpunit;C:\xamp
p\htdocs\welcome\vendor/symfony/yaml;C:\xampp\php\PEAR') in C:\xampp\htdocs\welc
ome\vendor\composer\autoload_real.php on line 71

Call Stack:
0.2044 352840 1. {main}() C:\xampp\htdocs\welcome\bin\magento:0
0.2056 360944 2. require('C:\xampp\htdocs\welcome\app\bootstrap.php')
C:\xampp\htdocs\welcome\bin\magento:14
0.2068 367288 3. require_once('C:\xampp\htdocs\welcome\app\autoload.ph
p') C:\xampp\htdocs\welcome\app\bootstrap.php:30
0.2093 368632 4. include('C:\xampp\htdocs\welcome\vendor\autoload.php'
) C:\xampp\htdocs\welcome\app\autoload.php:30
0.2113 383448 5. ComposerAutoloaderInit3444290875b43401beb82514693b52f
a::getLoader() C:\xampp\htdocs\welcome\vendor\autoload.php:7
0.2555 759632 6. composerRequire3444290875b43401beb82514693b52fa() C:\
xampp\htdocs\welcome\vendor\composer\autoload_real.php:61

 

Can you help me?