Fatal error: require(): Failed opening required

当手动删除通过composer安装的插件时出现错误

Fatal error: require(): Failed opening required '/www/wwwroot/th-test/vendor/composer/../rltsquare/best-seller/registration.php' (include_path='/www/wwwroot/th-test/vendor/magento/zendframework1/library:.:/www/server/php/73/lib/php') in /www/wwwroot/th-test/vendor/composer/autoload_real.php on line 75

只需要通过下面命令就可以解决
composer dump-autoload

你可能感兴趣的:(magento2)