Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/production/lifestyle/current/logs/error.log" could not be opened in append mode: failed to open stream: Permission denied in /var/www/production/lifestyle/releases/current/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:110 Stack trace: #0 /var/www/production/lifestyle/releases/current/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\StreamHandler->write(Array) #1 /var/www/production/lifestyle/releases/current/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #2 /var/www/production/lifestyle/releases/current/vendor/monolog/monolog/src/Monolog/Logger.php(712): Monolog\Logger->addRecord(400, '/var/www/produc...', Array) #3 /var/www/production/lifestyle/releases/current/customFunction.php(264): Monolog\Logger->error('/var/www/produc...', Array) #4 /var/www/production/lifestyle/releases/current/index.php(65): loadController('default', in /var/www/production/lifestyle/releases/current/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 110