Error

We're sorry, but an unhandled error occurred. Please see the details below.

The stream or file "/home/h88793/public_html/storage/logs/system.log" could not be opened: failed to open stream: Permission denied

/home/h88793/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php line 107

            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);

Stack trace

# Called Code Document Line
9 Monolog\Handler\StreamHandler->write() ~/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php 37
8 Monolog\Handler\AbstractProcessingHandler->handle() ~/vendor/monolog/monolog/src/Monolog/Logger.php 337
7 Monolog\Logger->addRecord() ~/vendor/monolog/monolog/src/Monolog/Logger.php 616
6 Monolog\Logger->error() ~/vendor/laravel/framework/src/Illuminate/Log/Writer.php 203
5 Illuminate\Log\Writer->writeLog() ~/vendor/laravel/framework/src/Illuminate/Log/Writer.php 114
4 Illuminate\Log\Writer->error() ~/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php 221
3 Illuminate\Support\Facades\Facade::__callStatic() ~/vendor/october/rain/src/Foundation/Exception/Handler.php 50
2 October\Rain\Foundation\Exception\Handler->report() ~/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php 81
1 Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()