ErrorException {#2960 #severity: E_NOTICE }
* Write to stream * @param resource $stream */ protected function streamWrite($stream, LogRecord $record): void { fwrite($stream, (string) $record->formatted); } private function customErrorHandler(int $code, string $msg): bool { $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg); * @return callable */ protected function forwardsTo($method) { return fn (...$arguments) => static::$app ? $this->{$method}(...$arguments) : false; } /** * Determine if the error level is a deprecation. * Write to stream * @param resource $stream */ protected function streamWrite($stream, LogRecord $record): void { fwrite($stream, (string) $record->formatted); } private function customErrorHandler(int $code, string $msg): bool { $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg); if ($this->useLocking) { // ignoring errors here, there's not much we can do about them flock($stream, LOCK_EX); } $this->streamWrite($stream, $record); if ($this->useLocking) { flock($stream, LOCK_UN); } } $record = $this->processRecord($record); } $record->formatted = $this->getFormatter()->format($record); $this->write($record); return false === $this->bubble; } /** } // once the record is initialized, send it to all handlers as long as the bubbling chain is not interrupted try { $handled = true; if (true === $handler->handle(clone $record)) { break; } } catch (Throwable $e) { $this->handleException($e, $record); * @param string|Stringable $message The log message * @param mixed[] $context The log context */ public function error(string|\Stringable $message, array $context = []): void { $this->addRecord(Level::Error, (string) $message, $context); } /** * Adds a log record at the CRITICAL level. * */ protected function writeLog($level, $message, $context): void { $this->logger->{$level}( $message = $this->formatMessage($message), $context = array_merge($this->context, $context) ); $this->fireLogEvent($level, $message, $context); } * @param array $context * @return void */ public function error($message, array $context = []): void { $this->writeLog(__FUNCTION__, $message, $context); } /** * Log a warning message to the logs. * * @param array $context * @return void */ public function error($message, array $context = []): void { $this->driver()->error($message, $context); } /** * Exceptional occurrences that are not errors. * ); $context = $this->buildExceptionContext($e); method_exists($logger, $level) ? $logger->{$level}($e->getMessage(), $context) : $logger->log($level, $e->getMessage(), $context); } /** * Determine if the exception should be reported. if ($this->shouldntReport($e)) { return; } $this->reportThrowable($e); } /** * Reports error based on report method on exception or to logger. * * @param \Exception $exception * @return void */ public function report(Throwable $exception) { parent::report($exception); } /** * Render an exception into an HTTP response. * * @param \Throwable $e * @return void */ protected function reportException(Throwable $e) { $this->app[ExceptionHandler::class]->report($e); } /** * Render the exception to a response. * try { $request->enableHttpMethodParameterOverride(); $response = $this->sendRequestThroughRouter($request); } catch (Throwable $e) { $this->reportException($e); $response = $this->renderException($request, $e); } $this->app['events']->dispatch($app = require_once __DIR__.'/../bootstrap/app.php';$kernel = $app->make(Kernel::class);$response = $kernel->handle( $request = Request::capture())->send();$kernel->terminate($request, $response);|
ErrorException
|
|---|
ErrorException:
fwrite(): Write of 3756 bytes failed with errno=28 No space left on device
at /home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:162
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'fwrite(): Write of 3756 bytes failed with errno=28 No space left on device', '/home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php', 162)
(/home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(8, 'fwrite(): Write of 3756 bytes failed with errno=28 No space left on device', '/home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php', 162)
at fwrite(resource, '[2026-03-04 03:11:38] production.ERROR: fwrite(): Write of 4243 bytes failed with errno=28 No space left on device {"exception":"[object] (ErrorException(code: 0): fwrite(): Write of 4243 bytes failed with errno=28 No space left on device at /home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:162)[stacktrace]#0 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\\\Foundation\\\\Bootstrap\\\\HandleExceptions->handleError(8, \'fwrite(): Write...\', \'/home/livebolat...\', 162)#1 [internal function]: Illuminate\\\\Foundation\\\\Bootstrap\\\\HandleExceptions->Illuminate\\\\Foundation\\\\Bootstrap\\\\{closure}(8, \'fwrite(): Write...\', \'/home/livebolat...\', 162)#2 /home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(162): fwrite(Resource id #868, \'[2026-03-04 03:...\')#3 /home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php(149): Monolog\\\\Handler\\\\StreamHandler->streamWrite(Resource id #868, Object(Monolog\\\\LogRecord))#4 /home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\\\Handler\\\\StreamHandler->write(Object(Monolog\\\\LogRecord))#5 /home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Logger.php(389): Monolog\\\\Handler\\\\AbstractProcessingHandler->handle(Object(Monolog\\\\LogRecord))#6 /home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Logger.php(644): Monolog\\\\Logger->addRecord(Object(Monolog\\\\Level), \'fwrite(): Write...\', Array)#7 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Log/Logger.php(186): Monolog\\\\Logger->error(\'fwrite(): Write...\', Array)#8 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Log/Logger.php(97): Illuminate\\\\Log\\\\Logger->writeLog(\'error\', \'fwrite(): Write...\', Array)#9 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(681): Illuminate\\\\Log\\\\Logger->error(\'fwrite(): Write...\', Array)#10 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(317): Illuminate\\\\Log\\\\LogManager->error(\'fwrite(): Write...\', Array)#11 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(278): Illuminate\\\\Foundation\\\\Exceptions\\\\Handler->reportThrowable(Object(ErrorException))#12 /home/livebolaterkini/public_html/app/Exceptions/Handler.php(39): Illuminate\\\\Foundation\\\\Exceptions\\\\Handler->report(Object(ErrorException))#13 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(49): App\\\\Exceptions\\\\Handler->report(Object(ErrorException))#14 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(188): Illuminate\\\\Routing\\\\Pipeline->handleException(Object(Illuminate\\\\Http\\\\Request), Object(ErrorException))#15 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\\\Pipeline\\\\Pipeline->Illuminate\\\\Pipeline\\\\{closure}(Object(Illuminate\\\\Http\\\\Request))#16 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\\\Pipeline\\\\Pipeline->then(Object(Closure))#17 /home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\\\Foundation\\\\Http\\\\Kernel->sendRequestThroughRouter(Object(Illuminate\\\\Http\\\\Request))#18 /home/livebolaterkini/public_html/public/index.php(52): Illuminate\\\\Foundation\\\\Http\\\\Kernel->handle(Object(Illuminate\\\\Http\\\\Request))#19 {main}"} ')
(/home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:162)
at Monolog\Handler\StreamHandler->streamWrite(resource, object(LogRecord))
(/home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:149)
at Monolog\Handler\StreamHandler->write(object(LogRecord))
(/home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:44)
at Monolog\Handler\AbstractProcessingHandler->handle(object(LogRecord))
(/home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:389)
at Monolog\Logger->addRecord(object(Level), 'fwrite(): Write of 4243 bytes failed with errno=28 No space left on device', array('exception' => object(ErrorException)))
(/home/livebolaterkini/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:644)
at Monolog\Logger->error('fwrite(): Write of 4243 bytes failed with errno=28 No space left on device', array('exception' => object(ErrorException)))
(/home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Log/Logger.php:186)
at Illuminate\Log\Logger->writeLog('error', 'fwrite(): Write of 4243 bytes failed with errno=28 No space left on device', array('exception' => object(ErrorException)))
(/home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Log/Logger.php:97)
at Illuminate\Log\Logger->error('fwrite(): Write of 4243 bytes failed with errno=28 No space left on device', array('exception' => object(ErrorException)))
(/home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:681)
at Illuminate\Log\LogManager->error('fwrite(): Write of 4243 bytes failed with errno=28 No space left on device', array('exception' => object(ErrorException)))
(/home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:317)
at Illuminate\Foundation\Exceptions\Handler->reportThrowable(object(ErrorException))
(/home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:278)
at Illuminate\Foundation\Exceptions\Handler->report(object(ErrorException))
(/home/livebolaterkini/public_html/app/Exceptions/Handler.php:39)
at App\Exceptions\Handler->report(object(ErrorException))
(/home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:497)
at Illuminate\Foundation\Http\Kernel->reportException(object(ErrorException))
(/home/livebolaterkini/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146)
at Illuminate\Foundation\Http\Kernel->handle(object(Request))
(/home/livebolaterkini/public_html/public/index.php:52)
|