RuntimeException: The specified "/store/eigre.si/generated/code/Magento/Framework/App/Http/Interceptor.php.9631" file couldn't be written. Warning!file_put_contents(/store/eigre.si/generated/code/Magento/Framework/App/Http/Interceptor.php.9631): failed to open stream: Permission denied 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 /store/eigre.si/vendor/magento/framework/Code/Generator.php:135 Stack trace: #0 /store/eigre.si/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 /store/eigre.si/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(116): spl_autoload_call('Magento\\Framewo...') #3 /store/eigre.si/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #4 /store/eigre.si/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #5 /store/eigre.si/vendor/magento/framework/App/Bootstrap.php(234): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #6 /store/eigre.si/pub/index.php(39): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #7 {main}