Whoops! There was an error.
UnexpectedValueException
The stream or file "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\logs/laravel-2024-11-20.log" could not be opened: failed to open stream: Permission denied UnexpectedValueException thrown with message "The stream or file "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\logs/laravel-2024-11-20.log" could not be opened: failed to open stream: Permission denied" Stacktrace: #11 UnexpectedValueException in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\monolog\monolog\src\Monolog\Handler\StreamHandler.php:108 #10 Monolog\Handler\StreamHandler:write in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\monolog\monolog\src\Monolog\Handler\RotatingFileHandler.php:119 #9 Monolog\Handler\RotatingFileHandler:write in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\monolog\monolog\src\Monolog\Handler\AbstractProcessingHandler.php:39 #8 Monolog\Handler\AbstractProcessingHandler:handle in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\monolog\monolog\src\Monolog\Logger.php:344 #7 Monolog\Logger:addRecord in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\monolog\monolog\src\Monolog\Logger.php:712 #6 Monolog\Logger:error in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Log\Logger.php:176 #5 Illuminate\Log\Logger:writeLog in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Log\Logger.php:87 #4 Illuminate\Log\Logger:error in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Log\LogManager.php:498 #3 Illuminate\Log\LogManager:error in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:114 #2 Illuminate\Foundation\Exceptions\Handler:report in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\app\Exceptions\Handler.php:39 #1 App\Exceptions\Handler:report in C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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.php108
10
Monolog\Handler\StreamHandler write
…\vendor\monolog\monolog\src\Monolog\Handler\RotatingFileHandler.php119
9
Monolog\Handler\RotatingFileHandler write
…\vendor\monolog\monolog\src\Monolog\Handler\AbstractProcessingHandler.php39
8
Monolog\Handler\AbstractProcessingHandler handle
…\vendor\monolog\monolog\src\Monolog\Logger.php344
7
Monolog\Logger addRecord
…\vendor\monolog\monolog\src\Monolog\Logger.php712
6
Monolog\Logger error
…\vendor\laravel\framework\src\Illuminate\Log\Logger.php176
5
Illuminate\Log\Logger writeLog
…\vendor\laravel\framework\src\Illuminate\Log\Logger.php87
4
Illuminate\Log\Logger error
…\vendor\laravel\framework\src\Illuminate\Log\LogManager.php498
3
Illuminate\Log\LogManager error
…\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php114
2
Illuminate\Foundation\Exceptions\Handler report
…\app\Exceptions\Handler.php39
1
App\Exceptions\Handler report
…\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php81
0
Illuminate\Foundation\Bootstrap\HandleExceptions handleException
[internal]0
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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 "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\logs/laravel-2024-11-20.log" could not be opened: failed to open stream: Permission denied"
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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" => "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => ErrorException {
          #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
          #code: 0
          #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
          #line: 122
          #severity: E_WARNING
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1732142745 {
        date: 2024-11-20 22:45:45.601782 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2024-11-20 22:45:45] local.ERROR: file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\storage\\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied at C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', 'C:\\\\inetpub\\\\vhos...', 122, Array)\n
        #1 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php(122): file_put_contents('C:\\\\inetpub\\\\vhos...', 'a:3:{s:6:\"_toke...', 2)\n
        #2 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('C:\\\\inetpub\\\\vhos...', 'a:3:{s:6:\"_toke...', true)\n
        #3 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Store.php(129): Illuminate\\Session\\FileSessionHandler->write('t0V7bpiEvoI7MsB...', 'a:3:{s:6:\"_toke...')\n
        #4 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #6 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #7 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\public\\index.php(61): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\index.php(21): require_once('C:\\\\inetpub\\\\vhos...')\n
        #9 {main}\n
        "} \n
        """
    ]
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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" => "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => ErrorException {
          #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
          #code: 0
          #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
          #line: 122
          #severity: E_WARNING
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1732142745 {
        date: 2024-11-20 22:45:45.601782 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2024-11-20 22:45:45] local.ERROR: file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\storage\\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied at C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', 'C:\\\\inetpub\\\\vhos...', 122, Array)\n
        #1 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php(122): file_put_contents('C:\\\\inetpub\\\\vhos...', 'a:3:{s:6:\"_toke...', 2)\n
        #2 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('C:\\\\inetpub\\\\vhos...', 'a:3:{s:6:\"_toke...', true)\n
        #3 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Store.php(129): Illuminate\\Session\\FileSessionHandler->write('t0V7bpiEvoI7MsB...', 'a:3:{s:6:\"_toke...')\n
        #4 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #6 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #7 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\public\\index.php(61): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\index.php(21): require_once('C:\\\\inetpub\\\\vhos...')\n
        #9 {main}\n
        "} \n
        """
    ]
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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" => "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => ErrorException {
          #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
          #code: 0
          #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
          #line: 122
          #severity: E_WARNING
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1732142745 {
        date: 2024-11-20 22:45:45.601782 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2024-11-20 22:45:45] local.ERROR: file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\storage\\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied at C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', 'C:\\\\inetpub\\\\vhos...', 122, Array)\n
        #1 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php(122): file_put_contents('C:\\\\inetpub\\\\vhos...', 'a:3:{s:6:\"_toke...', 2)\n
        #2 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('C:\\\\inetpub\\\\vhos...', 'a:3:{s:6:\"_toke...', true)\n
        #3 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Store.php(129): Illuminate\\Session\\FileSessionHandler->write('t0V7bpiEvoI7MsB...', 'a:3:{s:6:\"_toke...')\n
        #4 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #6 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #7 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\public\\index.php(61): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 C:\\inetpub\\vhosts\\riskcontrolnigeria.com\\riskindex.riskcontrolnigeria.com\\index.php(21): require_once('C:\\\\inetpub\\\\vhos...')\n
        #9 {main}\n
        "} \n
        """
    ]
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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. "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
        #code: 0
        #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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. "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
        #code: 0
        #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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. "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
        #code: 0
        #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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. "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
        #code: 0
        #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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. "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
        #code: 0
        #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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.
     *
     * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
     *
     * @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. ErrorException {
      #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
      #code: 0
      #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
      #line: 122
      #severity: E_WARNING
    }
    
C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\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. ErrorException {
      #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
      #code: 0
      #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
      #line: 122
      #severity: E_WARNING
    }
    
[internal]
Arguments
  1. ErrorException {
      #message: "file_put_contents(C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\storage\framework/sessions/t0V7bpiEvoI7MsBdWYmRnJlgKDuSG4NAvY0uYOTW): failed to open stream: Permission denied"
      #code: 0
      #file: "C:\inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php"
      #line: 122
      #severity: E_WARNING
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
_FCGI_X_PIPE_
"\\.\pipe\IISFCGI-bed88738-099b-4a95-8d1b-262179e21b48"
TEMP
"C:\Inetpub\vhosts\riskcontrolnigeria.com\tmp"
TMP
"C:\Inetpub\vhosts\riskcontrolnigeria.com\tmp"
ALLUSERSPROFILE
"C:\ProgramData"
APPDATA
"C:\Windows\system32\config\systemprofile\AppData\Roaming"
APP_POOL_CONFIG
"C:\inetpub\temp\apppools\riskcontrolnigeria.com(domain)(4.0)(pool)\riskcontrolnigeria.com(domain)(4.0)(pool).config"
APP_POOL_ID
"riskcontrolnigeria.com(domain)(4.0)(pool)"
ChocolateyInstall
"C:\ProgramData\chocolatey"
ChocolateyLastPathUpdate
"132646938830146576"
CommonProgramFiles
"C:\Program Files\Common Files"
CommonProgramFiles(x86)
"C:\Program Files (x86)\Common Files"
CommonProgramW6432
"C:\Program Files\Common Files"
COMPUTERNAME
"RISK"
ComSpec
"C:\Windows\system32\cmd.exe"
LOCALAPPDATA
"C:\Windows\system32\config\systemprofile\AppData\Local"
MAILENABLE_PATH
"C:\PROGRA~2\MAILEN~1"
MSMPI_BIN
"C:\Program Files\Microsoft MPI\Bin\"
NUMBER_OF_PROCESSORS
"8"
OS
"Windows_NT"
Path
"C:\Program Files (x86)\Mail Enable\BIN;C:\Program Files\Microsoft MPI\Bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Mail Enable\BIN64;C:\ProgramData\chocolatey\bin;C:\Program Files\OpenSSH-Win64;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Program Files (x86)\Plesk\ctl;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Windows\system32\config\systemprofile\AppData\Roaming\npm"
PATHEXT
".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
plesk_bin
"C:\Program Files (x86)\Plesk\admin\bin"
plesk_bin64
"C:\Program Files (x86)\Plesk\admin\bin64"
plesk_cli
"C:\Program Files (x86)\Plesk\bin"
plesk_data
"C:\Program Files (x86)\Plesk\"
plesk_dir
"C:\Program Files (x86)\Plesk\"
plesk_vhosts
"C:\Inetpub\vhosts\"
PROCESSOR_ARCHITECTURE
"AMD64"
PROCESSOR_IDENTIFIER
"Intel64 Family 6 Model 85 Stepping 4, GenuineIntel"
PROCESSOR_LEVEL
"6"
PROCESSOR_REVISION
"5504"
ProgramData
"C:\ProgramData"
ProgramFiles
"C:\Program Files"
ProgramFiles(x86)
"C:\Program Files (x86)"
ProgramW6432
"C:\Program Files"
PSModulePath
"C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\PowerShell\Modules\"
PUBLIC
"C:\Users\Public"
SystemDrive
"C:"
SystemRoot
"C:\Windows"
USERDOMAIN
"WORKGROUP"
USERNAME
"RISK$"
USERPROFILE
"C:\Windows\system32\config\systemprofile"
windir
"C:\Windows"
ORIG_PATH_INFO
"/Index.php"
URL
"/Index.php"
SERVER_SOFTWARE
"Microsoft-IIS/10.0"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_PORT_SECURE
"1"
SERVER_PORT
"443"
SERVER_NAME
"riskindex.riskcontrolnigeria.com"
SCRIPT_NAME
"/Index.php"
SCRIPT_FILENAME
"C:\Inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\Index.php"
REQUEST_URI
"/"
REQUEST_METHOD
"GET"
REMOTE_USER
""
REMOTE_PORT
"39352"
REMOTE_HOST
"13.58.203.255"
REMOTE_ADDR
"13.58.203.255"
QUERY_STRING
""
PATH_TRANSLATED
"C:\Inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\Index.php"
LOGON_USER
""
LOCAL_ADDR
"162.214.200.148"
INSTANCE_META_PATH
"/LM/W3SVC/23"
INSTANCE_NAME
"RISKINDEX.RISKCONTROLNIGERIA.COM"
INSTANCE_ID
"23"
HTTPS_SERVER_SUBJECT
"CN=riskindex.riskcontrolnigeria.com"
HTTPS_SERVER_ISSUER
"C=US, O=Let's Encrypt, CN=R11"
HTTPS_SECRETKEYSIZE
"2048"
HTTPS_KEYSIZE
"256"
HTTPS
"on"
GATEWAY_INTERFACE
"CGI/1.1"
DOCUMENT_ROOT
"C:\Inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com"
CONTENT_TYPE
""
CONTENT_LENGTH
"0"
CERT_SUBJECT
""
CERT_SERIALNUMBER
""
CERT_ISSUER
""
CERT_FLAGS
""
CERT_COOKIE
""
AUTH_USER
""
AUTH_PASSWORD
""
AUTH_TYPE
""
APPL_PHYSICAL_PATH
"C:\Inetpub\vhosts\riskcontrolnigeria.com\riskindex.riskcontrolnigeria.com\"
APPL_MD_PATH
"/LM/W3SVC/23/ROOT"
IIS_UrlRewriteModule
"7,1,1993,2336"
WEBSOCKET_VERSION
"13"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_HOST
"riskindex.riskcontrolnigeria.com"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_ACCEPT
"*/*"
HTTP_CONTENT_LENGTH
"0"
HTTP_CONNECTION
"close"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/Index.php"
REQUEST_TIME_FLOAT
1732142744.9213
REQUEST_TIME
1732142744
APP_NAME
"Risk Control Nigeria"
APP_ENV
"local"
APP_KEY
"base64:3Raxo0p3JyTrhH95EY3qyGsIfFPqiFbod7q9zu9chPE="
APP_DEBUG
"true"
APP_URL
"http://riskindex.riskcontrolnigeria.com"
VERSION
"6"
LOG_CHANNEL
"daily"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"nigeriar_riskindex"
DB_USERNAME
"nigeriar_riskin2"
DB_PASSWORD
"2!I),T@n3@cN"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
JWT_SECRET
"gXvHBCzDTbgnzhU636pjIQraJXjITSGo"
Key Value
APP_NAME
"Risk Control Nigeria"
APP_ENV
"local"
APP_KEY
"base64:3Raxo0p3JyTrhH95EY3qyGsIfFPqiFbod7q9zu9chPE="
APP_DEBUG
"true"
APP_URL
"http://riskindex.riskcontrolnigeria.com"
VERSION
"6"
LOG_CHANNEL
"daily"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"nigeriar_riskindex"
DB_USERNAME
"nigeriar_riskin2"
DB_PASSWORD
"2!I),T@n3@cN"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
JWT_SECRET
"gXvHBCzDTbgnzhU636pjIQraJXjITSGo"
0. Whoops\Handler\PrettyPageHandler