Skip to content

How to solve ReflectionException?

I am completely new to magento and trying to install product recommendations module. Prior to that I tried installing its dependencies i.e saas_export and data_services modules.

But when I access store front it gives me the following exception.

ReflectionException: Class MagentoFrameworkAppHttpInterceptor does not exist in 
/var/www/html/magento_1/vendor/magento/framework/Code/Reader/ClassReader.php:24 
Stack trace: 
#0 /var/www/html/magento_1/vendor/magento/framework/Code/Reader/ClassReader.php(24): ReflectionClass->__construct() 
#1 /var/www/html/magento_1/vendor/magento/framework/ObjectManager/Definition/Runtime.php(54): MagentoFrameworkCodeReaderClassReader->getConstructor() 
#2 /var/www/html/magento_1/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(48): MagentoFrameworkObjectManagerDefinitionRuntime->getParameters() 
#3 /var/www/html/magento_1/vendor/magento/framework/ObjectManager/ObjectManager.php(56): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() 
#4 /var/www/html/magento_1/vendor/magento/framework/App/Bootstrap.php(237): MagentoFrameworkObjectManagerObjectManager->create() 
#5 /var/www/html/magento_1/pub/index.php(28): MagentoFrameworkAppBootstrap->createApplication() 
#6 {main}

Tried disabling the modules but then it says page is not working. Not able to solve. Any help on that would be greatly appreciated.

Thank you!