Fatal error: Uncaught RuntimeException: The specified "/usr/share/nginx/html/multisite-trinketz/generated/code/Magento/Payment/Model/Method/ConfigInterfaceFactory.php.32543" file could not be written Warning!file_put_contents(/usr/share/nginx/html/multisite-trinketz/generated/code/Magento/Payment/Model/Method/ConfigInterfaceFactory.php.32543): failed to open stream: No such file or directory Class Magento\Payment\Model\Method\ConfigInterfaceFactory 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/html/multisite-trinketz/vendor/magento/framework/Code/Generator.php:135 Stack trace: #0 /usr/share/nginx/html/multisite-trinketz/vendor/magento/framework/Code/Gen in /usr/share/nginx/html/multisite-trinketz/vendor/magento/framework/Code/Generator.php on line 135