RuntimeException: Can't create directory /usr/share/nginx/lauretacandles.com/www/generated/code/Magento/Framework/App/Http/. Class Magento\Framework\App\Http\Interceptor generation error: The requested class did not generate properly, because the 'generated' directory permission is read-only. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'generated' directory permission is set to write --- the requested class did not generate properly, then you must add the generated class object to the signature of the related construct method, only. in /usr/share/nginx/lauretacandles.com/www/vendor/magento/framework/Code/Generator.php:135 Stack trace: #0 /usr/share/nginx/lauretacandles.com/www/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\\Framewo...') #1 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\\Framewo...') #2 /usr/share/nginx/lauretacandles.com/www/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(116): spl_autoload_call('Magento\\Framewo...') #3 /usr/share/nginx/lauretacandles.com/www/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #4 /usr/share/nginx/lauretacandles.com/www/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #5 /usr/share/nginx/lauretacandles.com/www/vendor/magento/framework/App/Bootstrap.php(234): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #6 /usr/share/nginx/lauretacandles.com/www/pub/index.php(36): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #7 {main}