Fatal error: Uncaught UnexpectedValueException: The stream or file "/home/ubuntu/sites/swselpa/config/../logs/error-2024-06-20.log" could not be opened in append mode: chmod(): No such file or directory The exception occurred while attempting to log: 404 Not Found Type: Slim\Exception\HttpNotFoundException Code: 404 Message: Not found. File: /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php Line: 76 Trace: #0 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(44): Slim\Middleware\RoutingMiddleware->performRouting() #1 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\RoutingMiddleware->process() #2 /home/ubuntu/sites/swselpa/vendor/slim/csrf/src/Guard.php(482): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #3 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Slim\Csrf\Guard->process() #4 /home/ubuntu/sites/swselpa/src/Middleware/ErrorHandlerMiddleware.php(35): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #5 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Middleware\ErrorHandlerMiddleware->process() #6 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #7 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Slim\Middleware\ErrorMiddleware->process() #8 /home/ubuntu/sites/swselpa/vendor/odan/session/src/Middleware/SessionStartMiddleware.php(26): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #9 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Odan\Session\Middleware\SessionStartMiddleware->process() #10 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #11 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle() #12 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/App.php(183): Slim\App->handle() #13 /home/ubuntu/sites/swselpa/public/index.php(4): Slim\App->run() #14 {main} in /home/ubuntu/sites/swselpa/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:137 Stack trace: #0 /home/ubuntu/sites/swselpa/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(113): Monolog\Handler\StreamHandler->write() #1 /home/ubuntu/sites/swselpa/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\Handler\RotatingFileHandler->write() #2 /home/ubuntu/sites/swselpa/vendor/monolog/monolog/src/Monolog/Logger.php(389): Monolog\Handler\AbstractProcessingHandler->handle() #3 /home/ubuntu/sites/swselpa/vendor/monolog/monolog/src/Monolog/Logger.php(644): Monolog\Logger->addRecord() #4 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/Handlers/ErrorHandler.php(274): Monolog\Logger->error() #5 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/Handlers/ErrorHandler.php(266): Slim\Handlers\ErrorHandler->logError() #6 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/Handlers/ErrorHandler.php(132): Slim\Handlers\ErrorHandler->writeToErrorLog() #7 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(91): Slim\Handlers\ErrorHandler->__invoke() #8 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(78): Slim\Middleware\ErrorMiddleware->handleException() #9 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Slim\Middleware\ErrorMiddleware->process() #10 /home/ubuntu/sites/swselpa/vendor/odan/session/src/Middleware/SessionStartMiddleware.php(26): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #11 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Odan\Session\Middleware\SessionStartMiddleware->process() #12 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #13 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle() #14 /home/ubuntu/sites/swselpa/vendor/slim/slim/Slim/App.php(183): Slim\App->handle() #15 /home/ubuntu/sites/swselpa/public/index.php(4): Slim\App->run() #16 {main} thrown in /home/ubuntu/sites/swselpa/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 137