Exception.log file Error:

{"exception":"[object] (ReflectionException(code: -1): Class Magento\Framework\App\Http\Interceptor does not exist

  • Same, I just installed magento fresh from composer and are facing problems already... they need to improve their documentation. – Black Nov 29 '19 at 9:51

Need to recreate Interceptor

Run di:compile command

php bin/magento setup:di:compile

This occurs Because you can inject Magento\Framework\App\Http in any our class

try following steps

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:Deploy -f

chmod -R 777 var/ generated/
  • Thanks! Mr. Waqar Ali now its working fine. – Lokesh M Jul 19 '19 at 7:19
  • @WaqarAli, why chmod 777 ??? This is insecure – Black Nov 29 '19 at 9:54
  • you need full permission on server because magento delete and create new files in var, pub, and gernated folder when setup:upgrade command runs – Waqar Ali Nov 29 '19 at 10:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.