UnexpectedValueException
The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied UnexpectedValueException thrown with message "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied" Stacktrace: #11 UnexpectedValueException in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 #10 Monolog\Handler\StreamHandler:write in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:119 #9 Monolog\Handler\RotatingFileHandler:write in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39 #8 Monolog\Handler\AbstractProcessingHandler:handle in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php:344 #7 Monolog\Logger:addRecord in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php:707 #6 Monolog\Logger:error in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176 #5 Illuminate\Log\Logger:writeLog in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87 #4 Illuminate\Log\Logger:error in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:498 #3 Illuminate\Log\LogManager:error in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:114 #2 Illuminate\Foundation\Exceptions\Handler:report in /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php:37 #1 App\Exceptions\Handler:report in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:81 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0
11
UnexpectedValueException
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
StreamHandler.php
107
10
Monolog
\
Handler
\
StreamHandler
write
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
RotatingFileHandler.php
119
9
Monolog
\
Handler
\
RotatingFileHandler
write
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
39
8
Monolog
\
Handler
\
AbstractProcessingHandler
handle
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
344
7
Monolog
\
Logger
addRecord
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
707
6
Monolog
\
Logger
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
176
5
Illuminate
\
Log
\
Logger
writeLog
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
87
4
Illuminate
\
Log
\
Logger
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
498
3
Illuminate
\
Log
\
LogManager
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
114
2
Illuminate
\
Foundation
\
Exceptions
\
Handler
report
/
app
/
Exceptions
/
Handler.php
37
1
App
\
Exceptions
\
Handler
report
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
81
0
Illuminate
\
Foundation
\
Bootstrap
\
HandleExceptions
handleException
[internal]
0
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
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 them
            flock($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
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
RotatingFileHandler.php
        $this->url = $this->getTimedFilename();
        $this->close();
    }
 
    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        // on the first record written, if the log is new, we should rotate (once per day)
        if (null === $this->mustRotate) {
            $this->mustRotate = !file_exists($this->url);
        }
 
        if ($this->nextRotation < $record['datetime']) {
            $this->mustRotate = true;
            $this->close();
        }
 
        parent::write($record);
    }
 
    /**
     * Rotates the files.
     */
    protected function rotate()
    {
        // update filename
        $this->url = $this->getTimedFilename();
        $this->nextRotation = new \DateTime('tomorrow');
 
        // skip GC of old logs if files are unlimited
        if (0 === $this->maxFiles) {
            return;
        }
 
        $logFiles = glob($this->getGlobPattern());
        if ($this->maxFiles >= count($logFiles)) {
            // no files to remove
            return;
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705335 {#283
        date: 2019-10-22 00:48:55.793878 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:48:55] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 * @author Christophe Coevoet <stof@notk.org>
 */
abstract class AbstractProcessingHandler extends AbstractHandler
{
    /**
     * {@inheritdoc}
     */
    public function handle(array $record)
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        $record = $this->processRecord($record);
 
        $record['formatted'] = $this->getFormatter()->format($record);
 
        $this->write($record);
 
        return false === $this->bubble;
    }
 
    /**
     * Writes the record down to the log of the implementing handler
     *
     * @param  array $record
     * @return void
     */
    abstract protected function write(array $record);
 
    /**
     * Processes a record.
     *
     * @param  array $record
     * @return array
     */
    protected function processRecord(array $record)
    {
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705335 {#283
        date: 2019-10-22 00:48:55.793878 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:48:55] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
                    break;
                }
 
                next($this->handlers);
            }
        } catch (Exception $e) {
            $this->handleException($e, $record);
        }
 
        return true;
    }
 
    /**
     * Ends a log cycle and frees all resources used by handlers.
     *
     * Closing a Handler means flushing all buffers and freeing any open resources/handles.
     * Handlers that have been closed should be able to accept log records again and re-open
     * themselves on demand, but this may not always be possible depending on implementation.
     *
     * This is useful at the end of a request and will be called automatically on every handler
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705335 {#283
        date: 2019-10-22 00:48:55.793878 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:48:55] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function err($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function error($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function crit($message, array $context = array())
    {
        return $this->addRecord(static::CRITICAL, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
Arguments
  1. 400
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to the log.
     *
     * @param  string  $level
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    protected function writeLog($level, $message, $context)
    {
        $this->fireLogEvent($level, $message = $this->formatMessage($message), $context);
 
        $this->logger->{$level}($message, $context);
    }
 
    /**
     * Register a new callback handler for when a log event is triggered.
     *
     * @param  \Closure  $callback
     * @return void
     *
     * @throws \RuntimeException
     */
    public function listen(Closure $callback)
    {
        if (! isset($this->dispatcher)) {
            throw new RuntimeException('Events dispatcher has not been set.');
        }
 
        $this->dispatcher->listen(MessageLogged::class, $callback);
    }
 
    /**
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log an error message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a warning message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a notice to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
Arguments
  1. "error"
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
     *
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->driver()->critical($message, $context);
    }
 
    /**
     * Runtime errors that do not require immediate action but should typically
     * be logged and monitored.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->driver()->error($message, $context);
    }
 
    /**
     * Exceptional occurrences that are not errors.
     *
     * Example: Use of deprecated APIs, poor use of an API, undesirable things
     * that are not necessarily wrong.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->driver()->warning($message, $context);
    }
 
    /**
     * Normal but significant events.
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
     */
    public function report(Exception $e)
    {
        if ($this->shouldntReport($e)) {
            return;
        }
 
        if (method_exists($e, 'report')) {
            return $e->report();
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e;
        }
 
        $logger->error(
            $e->getMessage(),
            array_merge($this->context(), ['exception' => $e]
        ));
    }
 
    /**
     * Determine if the exception should be reported.
     *
     * @param  \Exception  $e
     * @return bool
     */
    public function shouldReport(Exception $e)
    {
        return ! $this->shouldntReport($e);
    }
 
    /**
     * Determine if the exception is in the "do not report" list.
     *
     * @param  \Exception  $e
     * @return bool
     */
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
app
/
Exceptions
/
Handler.php
 
    /**
     * A list of the inputs that are never flashed for validation exceptions.
     *
     * @var array
     */
    protected $dontFlash = [
        'password',
        'password_confirmation',
    ];
 
    /**
     * Report or log an exception.
     *
     * @param  \Exception  $exception
     * @return void
     */
    public function report(Exception $exception)
    {
        parent::report($exception);
    }
 
    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        return parent::render($request, $exception);
    }
}
 
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
    }
 
    /**
     * Handle an uncaught exception from the application.
     *
     * Note: Most exceptions can be handled via the try / catch block in
     * the HTTP and Console kernels. But, fatal error exceptions must
     * be handled differently since they are not normal exceptions.
     *
     * @param  \Throwable  $e
     * @return void
     */
    public function handleException($e)
    {
        if (! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }
 
        try {
            $this->getExceptionHandler()->report($e);
        } catch (Exception $e) {
            //
        }
 
        if ($this->app->runningInConsole()) {
            $this->renderForConsole($e);
        } else {
            $this->renderHttpResponse($e);
        }
    }
 
    /**
     * Render an exception to the console.
     *
     * @param  \Exception  $e
     * @return void
     */
    protected function renderForConsole(Exception $e)
    {
        $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e);
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
[internal]
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    

Environment & details:

Key Value
base_url
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
content_type
"css"
output_format
"css"
empty
empty
empty
empty
Key Value
USER
"apache"
HOME
"/usr/share/httpd"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_HOST
"admin2.comfi.com"
REDIRECT_STATUS
"200"
SERVER_NAME
"admin2.comfi.com"
SERVER_PORT
"443"
SERVER_ADDR
"172.16.21.41"
REMOTE_PORT
"45786"
REMOTE_ADDR
"172.16.2.94"
SERVER_SOFTWARE
"nginx/1.10.1"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/var/www/html/vhosts/adminV2/public"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/serviceminificator/api/v1/recource/minification?base_url=https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&content_type=css&output_format=css"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"base_url=https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&content_type=css&output_format=css"
SCRIPT_FILENAME
"/var/www/html/vhosts/adminV2/public/index.php"
PATH_INFO
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1571705335.6843
REQUEST_TIME
1571705335
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
Key Value
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
0. Whoops\Handler\PrettyPageHandler
UnexpectedValueException
The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied UnexpectedValueException thrown with message "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied" Stacktrace: #11 UnexpectedValueException in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 #10 Monolog\Handler\StreamHandler:write in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:119 #9 Monolog\Handler\RotatingFileHandler:write in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39 #8 Monolog\Handler\AbstractProcessingHandler:handle in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php:344 #7 Monolog\Logger:addRecord in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php:707 #6 Monolog\Logger:error in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176 #5 Illuminate\Log\Logger:writeLog in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87 #4 Illuminate\Log\Logger:error in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:498 #3 Illuminate\Log\LogManager:error in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:114 #2 Illuminate\Foundation\Exceptions\Handler:report in /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php:37 #1 App\Exceptions\Handler:report in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:81 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0
11
UnexpectedValueException
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
StreamHandler.php
107
10
Monolog
\
Handler
\
StreamHandler
write
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
RotatingFileHandler.php
119
9
Monolog
\
Handler
\
RotatingFileHandler
write
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
39
8
Monolog
\
Handler
\
AbstractProcessingHandler
handle
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
344
7
Monolog
\
Logger
addRecord
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
707
6
Monolog
\
Logger
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
176
5
Illuminate
\
Log
\
Logger
writeLog
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
87
4
Illuminate
\
Log
\
Logger
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
498
3
Illuminate
\
Log
\
LogManager
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
114
2
Illuminate
\
Foundation
\
Exceptions
\
Handler
report
/
app
/
Exceptions
/
Handler.php
37
1
App
\
Exceptions
\
Handler
report
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
81
0
Illuminate
\
Foundation
\
Bootstrap
\
HandleExceptions
handleException
[internal]
0
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
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 them
            flock($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
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
RotatingFileHandler.php
        $this->url = $this->getTimedFilename();
        $this->close();
    }
 
    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        // on the first record written, if the log is new, we should rotate (once per day)
        if (null === $this->mustRotate) {
            $this->mustRotate = !file_exists($this->url);
        }
 
        if ($this->nextRotation < $record['datetime']) {
            $this->mustRotate = true;
            $this->close();
        }
 
        parent::write($record);
    }
 
    /**
     * Rotates the files.
     */
    protected function rotate()
    {
        // update filename
        $this->url = $this->getTimedFilename();
        $this->nextRotation = new \DateTime('tomorrow');
 
        // skip GC of old logs if files are unlimited
        if (0 === $this->maxFiles) {
            return;
        }
 
        $logFiles = glob($this->getGlobPattern());
        if ($this->maxFiles >= count($logFiles)) {
            // no files to remove
            return;
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705336 {#283
        date: 2019-10-22 00:48:56.003947 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:48:56] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 * @author Christophe Coevoet <stof@notk.org>
 */
abstract class AbstractProcessingHandler extends AbstractHandler
{
    /**
     * {@inheritdoc}
     */
    public function handle(array $record)
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        $record = $this->processRecord($record);
 
        $record['formatted'] = $this->getFormatter()->format($record);
 
        $this->write($record);
 
        return false === $this->bubble;
    }
 
    /**
     * Writes the record down to the log of the implementing handler
     *
     * @param  array $record
     * @return void
     */
    abstract protected function write(array $record);
 
    /**
     * Processes a record.
     *
     * @param  array $record
     * @return array
     */
    protected function processRecord(array $record)
    {
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705336 {#283
        date: 2019-10-22 00:48:56.003947 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:48:56] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
                    break;
                }
 
                next($this->handlers);
            }
        } catch (Exception $e) {
            $this->handleException($e, $record);
        }
 
        return true;
    }
 
    /**
     * Ends a log cycle and frees all resources used by handlers.
     *
     * Closing a Handler means flushing all buffers and freeing any open resources/handles.
     * Handlers that have been closed should be able to accept log records again and re-open
     * themselves on demand, but this may not always be possible depending on implementation.
     *
     * This is useful at the end of a request and will be called automatically on every handler
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705336 {#283
        date: 2019-10-22 00:48:56.003947 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:48:56] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function err($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function error($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function crit($message, array $context = array())
    {
        return $this->addRecord(static::CRITICAL, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
Arguments
  1. 400
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to the log.
     *
     * @param  string  $level
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    protected function writeLog($level, $message, $context)
    {
        $this->fireLogEvent($level, $message = $this->formatMessage($message), $context);
 
        $this->logger->{$level}($message, $context);
    }
 
    /**
     * Register a new callback handler for when a log event is triggered.
     *
     * @param  \Closure  $callback
     * @return void
     *
     * @throws \RuntimeException
     */
    public function listen(Closure $callback)
    {
        if (! isset($this->dispatcher)) {
            throw new RuntimeException('Events dispatcher has not been set.');
        }
 
        $this->dispatcher->listen(MessageLogged::class, $callback);
    }
 
    /**
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log an error message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a warning message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a notice to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
Arguments
  1. "error"
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
     *
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->driver()->critical($message, $context);
    }
 
    /**
     * Runtime errors that do not require immediate action but should typically
     * be logged and monitored.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->driver()->error($message, $context);
    }
 
    /**
     * Exceptional occurrences that are not errors.
     *
     * Example: Use of deprecated APIs, poor use of an API, undesirable things
     * that are not necessarily wrong.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->driver()->warning($message, $context);
    }
 
    /**
     * Normal but significant events.
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
     */
    public function report(Exception $e)
    {
        if ($this->shouldntReport($e)) {
            return;
        }
 
        if (method_exists($e, 'report')) {
            return $e->report();
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e;
        }
 
        $logger->error(
            $e->getMessage(),
            array_merge($this->context(), ['exception' => $e]
        ));
    }
 
    /**
     * Determine if the exception should be reported.
     *
     * @param  \Exception  $e
     * @return bool
     */
    public function shouldReport(Exception $e)
    {
        return ! $this->shouldntReport($e);
    }
 
    /**
     * Determine if the exception is in the "do not report" list.
     *
     * @param  \Exception  $e
     * @return bool
     */
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
app
/
Exceptions
/
Handler.php
 
    /**
     * A list of the inputs that are never flashed for validation exceptions.
     *
     * @var array
     */
    protected $dontFlash = [
        'password',
        'password_confirmation',
    ];
 
    /**
     * Report or log an exception.
     *
     * @param  \Exception  $exception
     * @return void
     */
    public function report(Exception $exception)
    {
        parent::report($exception);
    }
 
    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        return parent::render($request, $exception);
    }
}
 
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
    }
 
    /**
     * Handle an uncaught exception from the application.
     *
     * Note: Most exceptions can be handled via the try / catch block in
     * the HTTP and Console kernels. But, fatal error exceptions must
     * be handled differently since they are not normal exceptions.
     *
     * @param  \Throwable  $e
     * @return void
     */
    public function handleException($e)
    {
        if (! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }
 
        try {
            $this->getExceptionHandler()->report($e);
        } catch (Exception $e) {
            //
        }
 
        if ($this->app->runningInConsole()) {
            $this->renderForConsole($e);
        } else {
            $this->renderHttpResponse($e);
        }
    }
 
    /**
     * Render an exception to the console.
     *
     * @param  \Exception  $e
     * @return void
     */
    protected function renderForConsole(Exception $e)
    {
        $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e);
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
[internal]
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    

Environment & details:

Key Value
base_url
"https://comfi.com/img/custom.css"
content_type
"css"
output_format
"css"
empty
empty
empty
empty
Key Value
USER
"apache"
HOME
"/usr/share/httpd"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_HOST
"admin2.comfi.com"
REDIRECT_STATUS
"200"
SERVER_NAME
"admin2.comfi.com"
SERVER_PORT
"443"
SERVER_ADDR
"172.16.21.41"
REMOTE_PORT
"46092"
REMOTE_ADDR
"172.16.2.94"
SERVER_SOFTWARE
"nginx/1.10.1"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/var/www/html/vhosts/adminV2/public"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/serviceminificator/api/v1/recource/minification?base_url=https://comfi.com/img/custom.css&content_type=css&output_format=css"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"base_url=https://comfi.com/img/custom.css&content_type=css&output_format=css"
SCRIPT_FILENAME
"/var/www/html/vhosts/adminV2/public/index.php"
PATH_INFO
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1571705335.8942
REQUEST_TIME
1571705335
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
Key Value
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
0. Whoops\Handler\PrettyPageHandler
UnexpectedValueException
The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied UnexpectedValueException thrown with message "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied" Stacktrace: #11 UnexpectedValueException in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 #10 Monolog\Handler\StreamHandler:write in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:119 #9 Monolog\Handler\RotatingFileHandler:write in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39 #8 Monolog\Handler\AbstractProcessingHandler:handle in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php:344 #7 Monolog\Logger:addRecord in /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php:707 #6 Monolog\Logger:error in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176 #5 Illuminate\Log\Logger:writeLog in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87 #4 Illuminate\Log\Logger:error in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:498 #3 Illuminate\Log\LogManager:error in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:114 #2 Illuminate\Foundation\Exceptions\Handler:report in /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php:37 #1 App\Exceptions\Handler:report in /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:81 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0
11
UnexpectedValueException
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
StreamHandler.php
107
10
Monolog
\
Handler
\
StreamHandler
write
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
RotatingFileHandler.php
119
9
Monolog
\
Handler
\
RotatingFileHandler
write
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
39
8
Monolog
\
Handler
\
AbstractProcessingHandler
handle
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
344
7
Monolog
\
Logger
addRecord
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
707
6
Monolog
\
Logger
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
176
5
Illuminate
\
Log
\
Logger
writeLog
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
87
4
Illuminate
\
Log
\
Logger
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
498
3
Illuminate
\
Log
\
LogManager
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
114
2
Illuminate
\
Foundation
\
Exceptions
\
Handler
report
/
app
/
Exceptions
/
Handler.php
37
1
App
\
Exceptions
\
Handler
report
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
81
0
Illuminate
\
Foundation
\
Bootstrap
\
HandleExceptions
handleException
[internal]
0
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
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 them
            flock($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
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
RotatingFileHandler.php
        $this->url = $this->getTimedFilename();
        $this->close();
    }
 
    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        // on the first record written, if the log is new, we should rotate (once per day)
        if (null === $this->mustRotate) {
            $this->mustRotate = !file_exists($this->url);
        }
 
        if ($this->nextRotation < $record['datetime']) {
            $this->mustRotate = true;
            $this->close();
        }
 
        parent::write($record);
    }
 
    /**
     * Rotates the files.
     */
    protected function rotate()
    {
        // update filename
        $this->url = $this->getTimedFilename();
        $this->nextRotation = new \DateTime('tomorrow');
 
        // skip GC of old logs if files are unlimited
        if (0 === $this->maxFiles) {
            return;
        }
 
        $logFiles = glob($this->getGlobPattern());
        if ($this->maxFiles >= count($logFiles)) {
            // no files to remove
            return;
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705336 {#283
        date: 2019-10-22 00:48:56.216237 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:48:56] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 * @author Christophe Coevoet <stof@notk.org>
 */
abstract class AbstractProcessingHandler extends AbstractHandler
{
    /**
     * {@inheritdoc}
     */
    public function handle(array $record)
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        $record = $this->processRecord($record);
 
        $record['formatted'] = $this->getFormatter()->format($record);
 
        $this->write($record);
 
        return false === $this->bubble;
    }
 
    /**
     * Writes the record down to the log of the implementing handler
     *
     * @param  array $record
     * @return void
     */
    abstract protected function write(array $record);
 
    /**
     * Processes a record.
     *
     * @param  array $record
     * @return array
     */
    protected function processRecord(array $record)
    {
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705336 {#283
        date: 2019-10-22 00:48:56.216237 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:48:56] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
                    break;
                }
 
                next($this->handlers);
            }
        } catch (Exception $e) {
            $this->handleException($e, $record);
        }
 
        return true;
    }
 
    /**
     * Ends a log cycle and frees all resources used by handlers.
     *
     * Closing a Handler means flushing all buffers and freeing any open resources/handles.
     * Handlers that have been closed should be able to accept log records again and re-open
     * themselves on demand, but this may not always be possible depending on implementation.
     *
     * This is useful at the end of a request and will be called automatically on every handler
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705336 {#283
        date: 2019-10-22 00:48:56.216237 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:48:56] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function err($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function error($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function crit($message, array $context = array())
    {
        return $this->addRecord(static::CRITICAL, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
Arguments
  1. 400
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to the log.
     *
     * @param  string  $level
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    protected function writeLog($level, $message, $context)
    {
        $this->fireLogEvent($level, $message = $this->formatMessage($message), $context);
 
        $this->logger->{$level}($message, $context);
    }
 
    /**
     * Register a new callback handler for when a log event is triggered.
     *
     * @param  \Closure  $callback
     * @return void
     *
     * @throws \RuntimeException
     */
    public function listen(Closure $callback)
    {
        if (! isset($this->dispatcher)) {
            throw new RuntimeException('Events dispatcher has not been set.');
        }
 
        $this->dispatcher->listen(MessageLogged::class, $callback);
    }
 
    /**
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log an error message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a warning message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a notice to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
Arguments
  1. "error"
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
     *
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->driver()->critical($message, $context);
    }
 
    /**
     * Runtime errors that do not require immediate action but should typically
     * be logged and monitored.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->driver()->error($message, $context);
    }
 
    /**
     * Exceptional occurrences that are not errors.
     *
     * Example: Use of deprecated APIs, poor use of an API, undesirable things
     * that are not necessarily wrong.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->driver()->warning($message, $context);
    }
 
    /**
     * Normal but significant events.
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
     */
    public function report(Exception $e)
    {
        if ($this->shouldntReport($e)) {
            return;
        }
 
        if (method_exists($e, 'report')) {
            return $e->report();
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e;
        }
 
        $logger->error(
            $e->getMessage(),
            array_merge($this->context(), ['exception' => $e]
        ));
    }
 
    /**
     * Determine if the exception should be reported.
     *
     * @param  \Exception  $e
     * @return bool
     */
    public function shouldReport(Exception $e)
    {
        return ! $this->shouldntReport($e);
    }
 
    /**
     * Determine if the exception is in the "do not report" list.
     *
     * @param  \Exception  $e
     * @return bool
     */
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
app
/
Exceptions
/
Handler.php
 
    /**
     * A list of the inputs that are never flashed for validation exceptions.
     *
     * @var array
     */
    protected $dontFlash = [
        'password',
        'password_confirmation',
    ];
 
    /**
     * Report or log an exception.
     *
     * @param  \Exception  $exception
     * @return void
     */
    public function report(Exception $exception)
    {
        parent::report($exception);
    }
 
    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        return parent::render($request, $exception);
    }
}
 
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
    }
 
    /**
     * Handle an uncaught exception from the application.
     *
     * Note: Most exceptions can be handled via the try / catch block in
     * the HTTP and Console kernels. But, fatal error exceptions must
     * be handled differently since they are not normal exceptions.
     *
     * @param  \Throwable  $e
     * @return void
     */
    public function handleException($e)
    {
        if (! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }
 
        try {
            $this->getExceptionHandler()->report($e);
        } catch (Exception $e) {
            //
        }
 
        if ($this->app->runningInConsole()) {
            $this->renderForConsole($e);
        } else {
            $this->renderHttpResponse($e);
        }
    }
 
    /**
     * Render an exception to the console.
     *
     * @param  \Exception  $e
     * @return void
     */
    protected function renderForConsole(Exception $e)
    {
        $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e);
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
[internal]
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    

Environment & details:

Key Value
base_url
"https://comfi.com/img/styles.css"
content_type
"css"
output_format
"css"
empty
empty
empty
empty
Key Value
USER
"apache"
HOME
"/usr/share/httpd"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_HOST
"admin2.comfi.com"
REDIRECT_STATUS
"200"
SERVER_NAME
"admin2.comfi.com"
SERVER_PORT
"443"
SERVER_ADDR
"172.16.21.41"
REMOTE_PORT
"46176"
REMOTE_ADDR
"172.16.2.94"
SERVER_SOFTWARE
"nginx/1.10.1"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/var/www/html/vhosts/adminV2/public"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/serviceminificator/api/v1/recource/minification?base_url=https://comfi.com/img/styles.css&content_type=css&output_format=css"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"base_url=https://comfi.com/img/styles.css&content_type=css&output_format=css"
SCRIPT_FILENAME
"/var/www/html/vhosts/adminV2/public/index.php"
PATH_INFO
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1571705336.1083
REQUEST_TIME
1571705336
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
Key Value
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
0. Whoops\Handler\PrettyPageHandler

Get calling cards instantly on screen and by email

Best International Prepaid Phone Card to France for:

Frequent Calls

Bizon Phone Card

Occasional Calls

Bizon Phone Card

Travel

Solaris Phone Card

Cheapest Calling Cards to France from UK - Oxford

Phone Card

Local
Details
2.0 ¢/min
No Fee
Details
2.0 ¢/min
59¢ / 2 weeks
Details
2.0 ¢/min
89¢ / week
Details
2.0 ¢/min
88¢ / week
18¢ connection
Details
3.1 ¢/min
No Fee
Details
3.6 ¢/min
No Fee
Details
5.4 ¢/min
99¢ / week
Details
5.6 ¢/min
No Fee
Details
5.6 ¢/min
No Fee
Details
40.0 ¢/min
No Fee
Details

Comfi Calling Cards for France

Making long distance calls can easily become expensive, especially when you wish to frequently talk to your friends, family members or colleagues living abroad. If the high international calling rate is what's keeping you from indulging in long and hearty conversations with your loved ones in France, we have good news for you - Comfi has the best calling cards that allow you to make good quality and cheap calls to France.

We strongly believe that in today's era, communication should not be a luxury and that everyone should be able to converse whenever they want, even with people who are miles apart! As a solution to this issue, Comfi provides a range of affordable phone cards to France for making cheap calls.

Benefits of Using France Calling Cards

When it comes to calling cards for France, Comfi offers a number of options to its customers. For example, Jupiter phone card allows the users to establish quality communication links all the way over to France. Here's why Comfi calling cards to France offer the best option to make international calls.

Excellent Quality Connections

France calling cards guarantee a high-quality connection. By using these phone cards, you can rest assured that your important conversations will not be disturbed by occasional line drops, latency, interference noise, or any other problems that are generally associated with long distance calls.

Rechargeable Cards

We offer rechargeable international calling cards to France. This means that you no longer need to buy a new card every time you run out of credit. All you need to do is simply add funds to your current account!

Affordable Cost

With Comfi phone cards, you won't have to worry about running out of credit again. We offer the best rates for making cheap calls to France. Our website has a collection of the most affordable calling cards that can help you cut down the total cost of international calls by up to 70%!

No Waiting

We understand that some conversations just can't wait! This is why Comfi offers instantaneous delivery of the PIN-code. Customers can start calling right away.

Professional Service Support

When it comes to customer support, Comfi surpasses all other services. You can contact our agents at any time via email, live chat or through a telephone call to get quick and accurate information.

How to Use Your France Calling Card

Perhaps the best thing about Comfi International calling cards is that they made the international calling process very simple. Here's how you can use France calling cards to easily and conveniently connect with people in France in just a few minutes.

  1. Dial the access number and wait for the prompt.
  2. Carefully, listen to the prompt and select the language of your preference.
  3. Enter the PIN-code and wait for the prompt.
  4. Simply dial your destination number!

Time to Call France with your Comfi phone card!

Now that you know why and how to use Comfi phone cards, it's time to start dialing those numbers! If you know someone in France that you would like to talk to, simply subscribe to our website and enjoy premium quality prepaid calling service like never before!

Tip for International Calls: 011 + 33 + City Code + Phone Number

  • Save up to 75% on international calls
  • Boston, MA based customer service

ComFi.com BBB Business Review
Need Assistance?

USA: (800) 219-6993

Global: +1 (617) 861-4107

Mon - Fri 9AM - 9PM EST
Sat 11AM - 5PM EST

Contact Us Online

Customer Testimonials

"Service has been great and the friends I recommended the card to for use in the same country have thanked me again and again. I am very pleased with the card and the service. In addition, the periodic sales make it even more affordable."

Joseph S, Bethlehem, PA

"Great card!!! No pin numbers to remember!!!"

Pedro P, San Juan, PR

More testimonials

"The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
RotatingFileHandler.php
        $this->url = $this->getTimedFilename();
        $this->close();
    }
 
    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        // on the first record written, if the log is new, we should rotate (once per day)
        if (null === $this->mustRotate) {
            $this->mustRotate = !file_exists($this->url);
        }
 
        if ($this->nextRotation < $record['datetime']) {
            $this->mustRotate = true;
            $this->close();
        }
 
        parent::write($record);
    }
 
    /**
     * Rotates the files.
     */
    protected function rotate()
    {
        // update filename
        $this->url = $this->getTimedFilename();
        $this->nextRotation = new \DateTime('tomorrow');
 
        // skip GC of old logs if files are unlimited
        if (0 === $this->maxFiles) {
            return;
        }
 
        $logFiles = glob($this->getGlobPattern());
        if ($this->maxFiles >= count($logFiles)) {
            // no files to remove
            return;
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705670 {#283
        date: 2019-10-22 00:54:30.533548 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:54:30] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 * @author Christophe Coevoet <stof@notk.org>
 */
abstract class AbstractProcessingHandler extends AbstractHandler
{
    /**
     * {@inheritdoc}
     */
    public function handle(array $record)
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        $record = $this->processRecord($record);
 
        $record['formatted'] = $this->getFormatter()->format($record);
 
        $this->write($record);
 
        return false === $this->bubble;
    }
 
    /**
     * Writes the record down to the log of the implementing handler
     *
     * @param  array $record
     * @return void
     */
    abstract protected function write(array $record);
 
    /**
     * Processes a record.
     *
     * @param  array $record
     * @return array
     */
    protected function processRecord(array $record)
    {
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705670 {#283
        date: 2019-10-22 00:54:30.533548 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:54:30] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
                    break;
                }
 
                next($this->handlers);
            }
        } catch (Exception $e) {
            $this->handleException($e, $record);
        }
 
        return true;
    }
 
    /**
     * Ends a log cycle and frees all resources used by handlers.
     *
     * Closing a Handler means flushing all buffers and freeing any open resources/handles.
     * Handlers that have been closed should be able to accept log records again and re-open
     * themselves on demand, but this may not always be possible depending on implementation.
     *
     * This is useful at the end of a request and will be called automatically on every handler
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705670 {#283
        date: 2019-10-22 00:54:30.533548 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:54:30] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function err($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function error($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function crit($message, array $context = array())
    {
        return $this->addRecord(static::CRITICAL, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
Arguments
  1. 400
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to the log.
     *
     * @param  string  $level
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    protected function writeLog($level, $message, $context)
    {
        $this->fireLogEvent($level, $message = $this->formatMessage($message), $context);
 
        $this->logger->{$level}($message, $context);
    }
 
    /**
     * Register a new callback handler for when a log event is triggered.
     *
     * @param  \Closure  $callback
     * @return void
     *
     * @throws \RuntimeException
     */
    public function listen(Closure $callback)
    {
        if (! isset($this->dispatcher)) {
            throw new RuntimeException('Events dispatcher has not been set.');
        }
 
        $this->dispatcher->listen(MessageLogged::class, $callback);
    }
 
    /**
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log an error message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a warning message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a notice to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
Arguments
  1. "error"
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
     *
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->driver()->critical($message, $context);
    }
 
    /**
     * Runtime errors that do not require immediate action but should typically
     * be logged and monitored.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->driver()->error($message, $context);
    }
 
    /**
     * Exceptional occurrences that are not errors.
     *
     * Example: Use of deprecated APIs, poor use of an API, undesirable things
     * that are not necessarily wrong.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->driver()->warning($message, $context);
    }
 
    /**
     * Normal but significant events.
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
     */
    public function report(Exception $e)
    {
        if ($this->shouldntReport($e)) {
            return;
        }
 
        if (method_exists($e, 'report')) {
            return $e->report();
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e;
        }
 
        $logger->error(
            $e->getMessage(),
            array_merge($this->context(), ['exception' => $e]
        ));
    }
 
    /**
     * Determine if the exception should be reported.
     *
     * @param  \Exception  $e
     * @return bool
     */
    public function shouldReport(Exception $e)
    {
        return ! $this->shouldntReport($e);
    }
 
    /**
     * Determine if the exception is in the "do not report" list.
     *
     * @param  \Exception  $e
     * @return bool
     */
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
app
/
Exceptions
/
Handler.php
 
    /**
     * A list of the inputs that are never flashed for validation exceptions.
     *
     * @var array
     */
    protected $dontFlash = [
        'password',
        'password_confirmation',
    ];
 
    /**
     * Report or log an exception.
     *
     * @param  \Exception  $exception
     * @return void
     */
    public function report(Exception $exception)
    {
        parent::report($exception);
    }
 
    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        return parent::render($request, $exception);
    }
}
 
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
    }
 
    /**
     * Handle an uncaught exception from the application.
     *
     * Note: Most exceptions can be handled via the try / catch block in
     * the HTTP and Console kernels. But, fatal error exceptions must
     * be handled differently since they are not normal exceptions.
     *
     * @param  \Throwable  $e
     * @return void
     */
    public function handleException($e)
    {
        if (! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }
 
        try {
            $this->getExceptionHandler()->report($e);
        } catch (Exception $e) {
            //
        }
 
        if ($this->app->runningInConsole()) {
            $this->renderForConsole($e);
        } else {
            $this->renderHttpResponse($e);
        }
    }
 
    /**
     * Render an exception to the console.
     *
     * @param  \Exception  $e
     * @return void
     */
    protected function renderForConsole(Exception $e)
    {
        $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e);
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
[internal]
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    

Environment & details:

Key Value
base_url
"https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"
content_type
"js"
output_format
"js"
empty
empty
empty
empty
Key Value
USER
"apache"
HOME
"/usr/share/httpd"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_HOST
"admin2.comfi.com"
REDIRECT_STATUS
"200"
SERVER_NAME
"admin2.comfi.com"
SERVER_PORT
"443"
SERVER_ADDR
"172.16.21.41"
REMOTE_PORT
"58390"
REMOTE_ADDR
"172.16.2.94"
SERVER_SOFTWARE
"nginx/1.10.1"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/var/www/html/vhosts/adminV2/public"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/serviceminificator/api/v1/recource/minification?base_url=https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js&content_type=js&output_format=js"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"base_url=https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js&content_type=js&output_format=js"
SCRIPT_FILENAME
"/var/www/html/vhosts/adminV2/public/index.php"
PATH_INFO
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1571705670.4296
REQUEST_TIME
1571705670
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
Key Value
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
0. Whoops\Handler\PrettyPageHandler
"The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
RotatingFileHandler.php
        $this->url = $this->getTimedFilename();
        $this->close();
    }
 
    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        // on the first record written, if the log is new, we should rotate (once per day)
        if (null === $this->mustRotate) {
            $this->mustRotate = !file_exists($this->url);
        }
 
        if ($this->nextRotation < $record['datetime']) {
            $this->mustRotate = true;
            $this->close();
        }
 
        parent::write($record);
    }
 
    /**
     * Rotates the files.
     */
    protected function rotate()
    {
        // update filename
        $this->url = $this->getTimedFilename();
        $this->nextRotation = new \DateTime('tomorrow');
 
        // skip GC of old logs if files are unlimited
        if (0 === $this->maxFiles) {
            return;
        }
 
        $logFiles = glob($this->getGlobPattern());
        if ($this->maxFiles >= count($logFiles)) {
            // no files to remove
            return;
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705831 {#283
        date: 2019-10-22 00:57:11.317363 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:57:11] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 * @author Christophe Coevoet <stof@notk.org>
 */
abstract class AbstractProcessingHandler extends AbstractHandler
{
    /**
     * {@inheritdoc}
     */
    public function handle(array $record)
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        $record = $this->processRecord($record);
 
        $record['formatted'] = $this->getFormatter()->format($record);
 
        $this->write($record);
 
        return false === $this->bubble;
    }
 
    /**
     * Writes the record down to the log of the implementing handler
     *
     * @param  array $record
     * @return void
     */
    abstract protected function write(array $record);
 
    /**
     * Processes a record.
     *
     * @param  array $record
     * @return array
     */
    protected function processRecord(array $record)
    {
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705831 {#283
        date: 2019-10-22 00:57:11.317363 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:57:11] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
                    break;
                }
 
                next($this->handlers);
            }
        } catch (Exception $e) {
            $this->handleException($e, $record);
        }
 
        return true;
    }
 
    /**
     * Ends a log cycle and frees all resources used by handlers.
     *
     * Closing a Handler means flushing all buffers and freeing any open resources/handles.
     * Handlers that have been closed should be able to accept log records again and re-open
     * themselves on demand, but this may not always be possible depending on implementation.
     *
     * This is useful at the end of a request and will be called automatically on every handler
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#282
          #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "production"
      "datetime" => DateTime @1571705831 {#283
        date: 2019-10-22 00:57:11.317363 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2019-10-22 00:57:11] production.ERROR: The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log\" could not be opened: failed to open stream: Permission denied at /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'The stream or f...', Array)\n
        #4 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('The stream or f...', Array)\n
        #5 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'The stream or f...', Array)\n
        #6 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(498): Illuminate\\Log\\Logger->error('The stream or f...', Array)\n
        #7 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('The stream or f...', Array)\n
        #8 /var/www/html/vhosts/adminV2/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #9 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(UnexpectedValueException))\n
        #10 /var/www/html/vhosts/adminV2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(UnexpectedValueException))\n
        #11 /var/www/html/vhosts/adminV2/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n
        #12 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function err($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function error($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function crit($message, array $context = array())
    {
        return $this->addRecord(static::CRITICAL, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
Arguments
  1. 400
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to the log.
     *
     * @param  string  $level
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    protected function writeLog($level, $message, $context)
    {
        $this->fireLogEvent($level, $message = $this->formatMessage($message), $context);
 
        $this->logger->{$level}($message, $context);
    }
 
    /**
     * Register a new callback handler for when a log event is triggered.
     *
     * @param  \Closure  $callback
     * @return void
     *
     * @throws \RuntimeException
     */
    public function listen(Closure $callback)
    {
        if (! isset($this->dispatcher)) {
            throw new RuntimeException('Events dispatcher has not been set.');
        }
 
        $this->dispatcher->listen(MessageLogged::class, $callback);
    }
 
    /**
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log an error message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a warning message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a notice to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
Arguments
  1. "error"
    
  2. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
     *
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->driver()->critical($message, $context);
    }
 
    /**
     * Runtime errors that do not require immediate action but should typically
     * be logged and monitored.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->driver()->error($message, $context);
    }
 
    /**
     * Exceptional occurrences that are not errors.
     *
     * Example: Use of deprecated APIs, poor use of an API, undesirable things
     * that are not necessarily wrong.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->driver()->warning($message, $context);
    }
 
    /**
     * Normal but significant events.
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
     */
    public function report(Exception $e)
    {
        if ($this->shouldntReport($e)) {
            return;
        }
 
        if (method_exists($e, 'report')) {
            return $e->report();
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e;
        }
 
        $logger->error(
            $e->getMessage(),
            array_merge($this->context(), ['exception' => $e]
        ));
    }
 
    /**
     * Determine if the exception should be reported.
     *
     * @param  \Exception  $e
     * @return bool
     */
    public function shouldReport(Exception $e)
    {
        return ! $this->shouldntReport($e);
    }
 
    /**
     * Determine if the exception is in the "do not report" list.
     *
     * @param  \Exception  $e
     * @return bool
     */
Arguments
  1. "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#282
        #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
app
/
Exceptions
/
Handler.php
 
    /**
     * A list of the inputs that are never flashed for validation exceptions.
     *
     * @var array
     */
    protected $dontFlash = [
        'password',
        'password_confirmation',
    ];
 
    /**
     * Report or log an exception.
     *
     * @param  \Exception  $exception
     * @return void
     */
    public function report(Exception $exception)
    {
        parent::report($exception);
    }
 
    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        return parent::render($request, $exception);
    }
}
 
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
/
var
/
www
/
html
/
vhosts
/
adminV2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
    }
 
    /**
     * Handle an uncaught exception from the application.
     *
     * Note: Most exceptions can be handled via the try / catch block in
     * the HTTP and Console kernels. But, fatal error exceptions must
     * be handled differently since they are not normal exceptions.
     *
     * @param  \Throwable  $e
     * @return void
     */
    public function handleException($e)
    {
        if (! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }
 
        try {
            $this->getExceptionHandler()->report($e);
        } catch (Exception $e) {
            //
        }
 
        if ($this->app->runningInConsole()) {
            $this->renderForConsole($e);
        } else {
            $this->renderHttpResponse($e);
        }
    }
 
    /**
     * Render an exception to the console.
     *
     * @param  \Exception  $e
     * @return void
     */
    protected function renderForConsole(Exception $e)
    {
        $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e);
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
[internal]
Arguments
  1. UnexpectedValueException {#282
      #message: "The stream or file "/var/www/html/vhosts/adminV2/storage/logs/laravel-2019-10-22.log" could not be opened: failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vhosts/adminV2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    

Environment & details:

Key Value
base_url
"https://momentjs.com/downloads/moment-with-locales.js"
content_type
"js"
output_format
"js"
empty
empty
empty
empty
Key Value
USER
"apache"
HOME
"/usr/share/httpd"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_HOST
"admin2.comfi.com"
REDIRECT_STATUS
"200"
SERVER_NAME
"admin2.comfi.com"
SERVER_PORT
"443"
SERVER_ADDR
"172.16.21.41"
REMOTE_PORT
"47000"
REMOTE_ADDR
"172.16.2.94"
SERVER_SOFTWARE
"nginx/1.10.1"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/var/www/html/vhosts/adminV2/public"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/serviceminificator/api/v1/recource/minification?base_url=https://momentjs.com/downloads/moment-with-locales.js&content_type=js&output_format=js"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"base_url=https://momentjs.com/downloads/moment-with-locales.js&content_type=js&output_format=js"
SCRIPT_FILENAME
"/var/www/html/vhosts/adminV2/public/index.php"
PATH_INFO
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1571705831.2112
REQUEST_TIME
1571705831
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
Key Value
APP_NAME
"Comfi Admin v2.0"
APP_ENV
"production"
APP_KEY
"base64:oE3Lvwxg78EhVJQC4XfJ2+Ro4uUNLRBGiwbPSiuhRO4="
APP_DEBUG
"true"
APP_URL
"https://admin2.comfi.com/"
FORCE_SCHEME_HTTPS
"true"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin2"
DB_USERNAME
"wolf"
DB_PASSWORD
"itmaster"
DB_CDDB_CONNECTION
"mysql"
DB_CDDB_HOST
"db"
DB_CDDB_PORT
"3306"
DB_CDDB_DATABASE
""
DB_CDDB_USERNAME
"admPanel2"
DB_CDDB_PASSWORD
"itmaster"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"memcached"
QUEUE_CONNECTION
"database"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"172.16.21.6"
MAIL_PORT
"25"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"noreplay@comfi.com"
MAIL_FROM_NAME
"System"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
FACEBOOK_APP_ID
"591168491308910"
FACEBOOK_APP_SECRET
"b7a8c3370c1004e62f3ae8a8b5980150"
FACEBOOK_API_VERSION
"v3.2"
FACEBOOK_ACCESS_TOKEN
"591168491308910|XxH369t9IKbOAo_maobMZAngC0k"
A2B_API_URI
"http://a2b_api.comfi.com:8094/api/v1/"
FCM_SERVER_KEY
"AAAArP3uFck:APA91bG7cnV7AoK8_lEmxlQlO_p070A7xrYFUwkZEyYZYiGNHMdLrB6A8TxB2si_vDjrMdG_o201z2MJN_j5uM09NcqwsHth9EcaG0FDgeT3UTOCt6z79SqJsDwQNpXAWYG4weuvMCbj"
FCM_SENDER_ID
"ComfiCom"
FCM_LOG
"false"
COMFI_DB_HOST
"cdbs"
COMFI_DB_PORT
"3306"
COMFI_DB_USERNAME
"adminuser"
COMFI_DB_PASSWORD
"Judnmfr73jd6"
COMFI_DB_DATABASE
"bell"
0. Whoops\Handler\PrettyPageHandler