I am getting below error after performing 2 steps:
Flush all cache.
Delete
var/generation
directory.
exception 'RuntimeException' with message 'Source class "" for "Magento\Framework\App\Response\Http\Interceptor" generation does not exist.' in /home/ready/public_html/vendor/magento/framework/Code/Generator.php:185 Stack trace: #0 /home/ready/public_html/vendor/magento/framework/Code/Generator.php(112): Magento\Framework\Code\Generator->tryToLoadSourceClass('Magento\\Framewo...', Object(Magento\Framework\Interception\Code\Generator\Interceptor)) #1 /home/ready/public_html/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\\Framewo...')
#2 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\\Framewo...')
#3 /home/ready/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): spl_autoload_call('Magento\\Framewo...') #4 /home/ready/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #5 /home/ready/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(130): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...')
#6 /home/ready/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(67): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...')
#7 /home/ready/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #8 /home/ready/public_html/vendor/magento/framework/App/Bootstrap.php(233): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #9 /home/ready/public_html/index.php(38): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...')
#10 {main}
php bin/magento setup:static-content:deploy
php bin/magento setup:di:compile
php bin/magento cache:clean