Fatal error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in /home/directoyrimd/directoyrimd/vendor/ruflin/elastica/lib/Elastica/Exception/ResponseException.php on line 34

Fatal error: Uncaught exception 'UnexpectedValueException' with message 'There is no existing directory at "kernel.logs_dir" and its not buildable: Permission denied' in /home/directoyrimd/directoyrimd/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:141 Stack trace: #0 /home/directoyrimd/directoyrimd/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(77): Monolog\Handler\StreamHandler->createDir() #1 /home/directoyrimd/directoyrimd/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\Handler\StreamHandler->write(Array) #2 /home/directoyrimd/directoyrimd/vendor/monolog/monolog/src/Monolog/Handler/GroupHandler.php(65): Monolog\Handler\AbstractProcessingHandler->handle(Array) #3 /home/directoyrimd/directoyrimd/vendor/monolog/monolog/src/Monolog/Logger.php(289): Monolog\Handler\GroupHandler->handle(Array) #4 /home/directoyrimd/directoyrimd/vendor/monolog/monolog/src/Monolog/Logger.php(467): Monolog\Logger->addRecord(500, 'Fatal Error: Wr...', Array) #5 /home/directoyrimd in /home/directoyrimd/directoyrimd/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 141