}
restore_error_handler();
if (!is_resource($stream)) {
$this->stream = null;
throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened in append mode: '.$this->errorMessage, $url) . Utils::getRecordMessageForException($record));
}
stream_set_chunk_size($stream, $this->streamChunkSize);
$this->stream = $stream;
}
if ($this->nextRotation <= $record['datetime']) {
$this->mustRotate = true;
$this->close();
}
parent::write($record);
}
/**
* Rotates the files.
*/
$record = $this->processRecord($record);
}
$record['formatted'] = $this->getFormatter()->format($record);
$this->write($record);
return false === $this->bubble;
}
/**
}
}
// once the record exists, send it to all handlers as long as the bubbling chain is not interrupted
try {
if (true === $handler->handle($record)) {
break;
}
} catch (Throwable $e) {
$this->handleException($e, $record);
* @param string|Stringable $message The log message
* @param mixed[] $context The log context
*/
public function error($message, array $context = []): void
{
$this->addRecord(static::ERROR, (string) $message, $context);
}
/**
* Adds a log record at the CRITICAL level.
*
*/
protected function writeLog($level, $message, $context)
{
$this->logger->{$level}(
$message = $this->formatMessage($message),
$context = array_merge($this->context, $context)
);
$this->fireLogEvent($level, $message, $context);
}
* @param array $context
* @return void
*/
public function error($message, array $context = [])
{
$this->writeLog(__FUNCTION__, $message, $context);
}
/**
* Log a warning message to the logs.
*
* @param array $context
* @return void
*/
public function error($message, array $context = [])
{
$this->driver()->error($message, $context);
}
/**
* Exceptional occurrences that are not errors.
*
$logger->error(
$e->getMessage(),
array_merge(
$this->exceptionContext($e),
$this->context(),
['exception' => $e]
)
);
}
/**
public function handleException(Throwable $e)
{
self::$reservedMemory = null;
try {
$this->getExceptionHandler()->report($e);
} catch (Exception $e) {
//
}
if ($this->app->runningInConsole()) {
UnexpectedValueException
|
---|
UnexpectedValueException: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`. Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} at /var/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:146 at Monolog\Handler\StreamHandler->write(array('message' => 'The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}', 'context' => array('exception' => object(UnexpectedValueException)), 'level' => 400, 'level_name' => 'ERROR', 'channel' => 'production', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2024-03-29 02:02:37] production.ERROR: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}} {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}} at /var/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:146)[stacktrace]#0 /var/www/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(125): Monolog\\\\Handler\\\\StreamHandler->write(Array)#1 /var/www/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(48): Monolog\\\\Handler\\\\RotatingFileHandler->write(Array)#2 /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(359): Monolog\\\\Handler\\\\AbstractProcessingHandler->handle(Array)#3 /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(602): Monolog\\\\Logger->addRecord(400, \'The stream or f...\', Array)#4 /var/www/vendor/laravel/framework/src/Illuminate/Log/Logger.php(183): Monolog\\\\Logger->error(\'The stream or f...\', Array)#5 /var/www/vendor/laravel/framework/src/Illuminate/Log/Logger.php(94): Illuminate\\\\Log\\\\Logger->writeLog(\'error\', \'The stream or f...\', Array)#6 /var/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(590): Illuminate\\\\Log\\\\Logger->error(\'The stream or f...\', Array)#7 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(252): Illuminate\\\\Log\\\\LogManager->error(\'The stream or f...\', Array)#8 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(415): Illuminate\\\\Foundation\\\\Exceptions\\\\Handler->report(Object(UnexpectedValueException))#9 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(113): Illuminate\\\\Foundation\\\\Http\\\\Kernel->reportException(Object(UnexpectedValueException))#10 /var/www/public/index.php(52): Illuminate\\\\Foundation\\\\Http\\\\Kernel->handle(Object(Illuminate\\\\Http\\\\Request))#11 {main}"} ')) (/var/www/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:125) at Monolog\Handler\RotatingFileHandler->write(array('message' => 'The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}', 'context' => array('exception' => object(UnexpectedValueException)), 'level' => 400, 'level_name' => 'ERROR', 'channel' => 'production', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2024-03-29 02:02:37] production.ERROR: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}} {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}} at /var/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:146)[stacktrace]#0 /var/www/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(125): Monolog\\\\Handler\\\\StreamHandler->write(Array)#1 /var/www/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(48): Monolog\\\\Handler\\\\RotatingFileHandler->write(Array)#2 /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(359): Monolog\\\\Handler\\\\AbstractProcessingHandler->handle(Array)#3 /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(602): Monolog\\\\Logger->addRecord(400, \'The stream or f...\', Array)#4 /var/www/vendor/laravel/framework/src/Illuminate/Log/Logger.php(183): Monolog\\\\Logger->error(\'The stream or f...\', Array)#5 /var/www/vendor/laravel/framework/src/Illuminate/Log/Logger.php(94): Illuminate\\\\Log\\\\Logger->writeLog(\'error\', \'The stream or f...\', Array)#6 /var/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(590): Illuminate\\\\Log\\\\Logger->error(\'The stream or f...\', Array)#7 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(252): Illuminate\\\\Log\\\\LogManager->error(\'The stream or f...\', Array)#8 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(415): Illuminate\\\\Foundation\\\\Exceptions\\\\Handler->report(Object(UnexpectedValueException))#9 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(113): Illuminate\\\\Foundation\\\\Http\\\\Kernel->reportException(Object(UnexpectedValueException))#10 /var/www/public/index.php(52): Illuminate\\\\Foundation\\\\Http\\\\Kernel->handle(Object(Illuminate\\\\Http\\\\Request))#11 {main}"} ')) (/var/www/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:48) at Monolog\Handler\AbstractProcessingHandler->handle(array('message' => 'The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}', 'context' => array('exception' => object(UnexpectedValueException)), 'level' => 400, 'level_name' => 'ERROR', 'channel' => 'production', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2024-03-29 02:02:37] production.ERROR: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}} {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file \\"/var/www/storage/logs/laravel-2024-03-29.log\\" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}}Context: {\\"exception\\":{}} at /var/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:146)[stacktrace]#0 /var/www/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(125): Monolog\\\\Handler\\\\StreamHandler->write(Array)#1 /var/www/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(48): Monolog\\\\Handler\\\\RotatingFileHandler->write(Array)#2 /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(359): Monolog\\\\Handler\\\\AbstractProcessingHandler->handle(Array)#3 /var/www/vendor/monolog/monolog/src/Monolog/Logger.php(602): Monolog\\\\Logger->addRecord(400, \'The stream or f...\', Array)#4 /var/www/vendor/laravel/framework/src/Illuminate/Log/Logger.php(183): Monolog\\\\Logger->error(\'The stream or f...\', Array)#5 /var/www/vendor/laravel/framework/src/Illuminate/Log/Logger.php(94): Illuminate\\\\Log\\\\Logger->writeLog(\'error\', \'The stream or f...\', Array)#6 /var/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(590): Illuminate\\\\Log\\\\Logger->error(\'The stream or f...\', Array)#7 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(252): Illuminate\\\\Log\\\\LogManager->error(\'The stream or f...\', Array)#8 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(415): Illuminate\\\\Foundation\\\\Exceptions\\\\Handler->report(Object(UnexpectedValueException))#9 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(113): Illuminate\\\\Foundation\\\\Http\\\\Kernel->reportException(Object(UnexpectedValueException))#10 /var/www/public/index.php(52): Illuminate\\\\Foundation\\\\Http\\\\Kernel->handle(Object(Illuminate\\\\Http\\\\Request))#11 {main}"} ')) (/var/www/vendor/monolog/monolog/src/Monolog/Logger.php:359) at Monolog\Logger->addRecord(400, 'The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}', array('exception' => object(UnexpectedValueException))) (/var/www/vendor/monolog/monolog/src/Monolog/Logger.php:602) at Monolog\Logger->error('The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}', array('exception' => object(UnexpectedValueException))) (/var/www/vendor/laravel/framework/src/Illuminate/Log/Logger.php:183) at Illuminate\Log\Logger->writeLog('error', 'The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}', array('exception' => object(UnexpectedValueException))) (/var/www/vendor/laravel/framework/src/Illuminate/Log/Logger.php:94) at Illuminate\Log\Logger->error('The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}', array('exception' => object(UnexpectedValueException))) (/var/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:590) at Illuminate\Log\LogManager->error('The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: The stream or file "/var/www/storage/logs/laravel-2024-03-29.log" could not be opened in append mode: Failed to open stream: Permission deniedThe exception occurred while attempting to log: Could not find the image `1f2df488-bd96-4754-a102-4858f2db6354/img-4279.jpg`.Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}Context: {"exception":{}}', array('exception' => object(UnexpectedValueException))) (/var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:252) at Illuminate\Foundation\Exceptions\Handler->report(object(UnexpectedValueException)) (/var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:165) at Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(object(UnexpectedValueException)) |