Sometimes you face an exception error after installing the module via composer or by some other ways, you will able to see an exception error on the website or while running the setup upgrade or cache flush command.
Exception.log Error:
{“exception”:”[object] (ReflectionException(code: -1): Class Vendor\Module\Model\ResourceModel\Banner\Interceptor does not exist.
To fix the issue:
Go to your project root in the command line, Run the DI Compile command,
php bin/magento setup:di:compile
php bin/magento cache:clean