当前位置:滋补养瘦月子餐-孕期滋补-孕后调理滋补资讯Whoops! There was an error.
Whoops! There was an error.
2023-04-07

monolog

/

monolog

/

src

/

Monolog

/

Handler

/

StreamHandler.php

/*** {@inheritdoc}*/protected function write(array $record){if (!is_resource($this->stream)) {if (null === $this->url || '' === $this->url) {throw new /LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().');}$this->createDir();$this->errorMessage = null;set_error_handler(array($this, 'customErrorHandler'));$this->stream = fopen($this->url, 'a');if ($this->filePermission !== null) {@chmod($this->url, $this->filePermission);}restore_error_handler();if (!is_resource($this->stream)) {$this->stream = null;throw new /UnexpectedValueException(sprintf('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url));}}if ($this->useLocking) {// ignoring errors here, there's not much we can do about themflock($this->stream, LOCK_EX);}$this->streamWrite($this->stream, $record);if ($this->useLocking) {flock($this->stream, LOCK_UN);}}/*** Write to stream* @param resource $stream* @param array $record*/

Arguments

"The stream or file "/www/wwwroot/amoney/laravel55/storage/logs/laravel-2020-02-26.log" could not be opened: failed to open stream: Permission denied"