Fatal error: Uncaught Error: Class "Magento\Framework\Component\ComponentRegistrar" not found in /home/magentopractice/public_html/setup/src/Magento/Setup/registration.php:9
Stack trace:
#0 /home/magentopractice/public_html/app/etc/NonComposerComponentRegistration.php(29): require_once()
#1 [internal function]: Magento\NonComposerComponentRegistration\{closure}()
#2 /home/magentopractice/public_html/app/etc/NonComposerComponentRegistration.php(29): array_map()
#3 /home/magentopractice/public_html/app/etc/NonComposerComponentRegistration.php(33): Magento\NonComposerComponentRegistration\{closure}()
#4 /home/magentopractice/public_html/vendor/composer/autoload_real.php(73): require('...')
#5 /home/magentopractice/public_html/vendor/composer/autoload_real.php(63): composerRequire73e5044aa84a6971d0e605b1bc04dcb6()
#6 /home/magentopractice/public_html/vendor/autoload.php(7): ComposerAutoloaderInit73e5044aa84a6971d0e605b1bc04dcb6::getLoader()
#7 /home/magentopractice/public_html/app/autoload.php(30): include('...')
#8 /home/magentopractice/public_html/app/bootstrap.php(34): require_once('...')
#9 /home/magentopractice/public_html/index.php(26): require('...')
#10 {main}
thrown in /home/magentopractice/public_html/setup/src/Magento/Setup/registration.php on line 9