ErrorException (E_NOTICE)
fwrite(): Write of 2206 bytes failed with errno=27 File too large ErrorException thrown with message "fwrite(): Write of 2206 bytes failed with errno=27 File too large" Stacktrace: #12 ErrorException in /mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:178 #11 fwrite in /mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:178 #10 Monolog\Handler\StreamHandler:streamWrite in /mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:162 #9 Monolog\Handler\StreamHandler:write in /mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:48 #8 Monolog\Handler\AbstractProcessingHandler:handle in /mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Logger.php:399 #7 Monolog\Logger:addRecord in /mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Logger.php:650 #6 Monolog\Logger:error in /mnt/web115/d3/66/59056066/htdocs/vendor/laravel/framework/src/Illuminate/Log/Logger.php:174 #5 Illuminate\Log\Logger:writeLog in /mnt/web115/d3/66/59056066/htdocs/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87 #4 Illuminate\Log\Logger:error in /mnt/web115/d3/66/59056066/htdocs/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:543 #3 Illuminate\Log\LogManager:error in /mnt/web115/d3/66/59056066/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:123 #2 Illuminate\Foundation\Exceptions\Handler:report in /mnt/web115/d3/66/59056066/htdocs/app/Exceptions/Handler.php:40 #1 App\Exceptions\Handler:report in /mnt/web115/d3/66/59056066/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:88 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0
12
ErrorException
/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php178
11
fwrite
/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php178
10
Monolog\Handler\StreamHandler streamWrite
/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php162
9
Monolog\Handler\StreamHandler write
/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php48
8
Monolog\Handler\AbstractProcessingHandler handle
/vendor/monolog/monolog/src/Monolog/Logger.php399
7
Monolog\Logger addRecord
/vendor/monolog/monolog/src/Monolog/Logger.php650
6
Monolog\Logger error
/vendor/laravel/framework/src/Illuminate/Log/Logger.php174
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.php543
3
Illuminate\Log\LogManager error
/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php123
2
Illuminate\Foundation\Exceptions\Handler report
/app/Exceptions/Handler.php40
1
App\Exceptions\Handler report
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php88
0
Illuminate\Foundation\Bootstrap\HandleExceptions handleException
[internal]0
/mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
            flock($stream, LOCK_EX);
        }
 
        $this->streamWrite($stream, $record);
 
        if ($this->useLocking) {
            flock($stream, LOCK_UN);
        }
    }
 
    /**
     * Write to stream
     * @param resource $stream
     * @param array    $record
     *
     * @phpstan-param FormattedRecord $record
     */
    protected function streamWrite($stream, array $record): void
    {
        fwrite($stream, (string) $record['formatted']);
    }
 
    private function customErrorHandler(int $code, string $msg): bool
    {
        $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);
 
        return true;
    }
 
    private function getDirFromStream(string $stream): ?string
    {
        $pos = strpos($stream, '://');
        if ($pos === false) {
            return dirname($stream);
        }
 
        if ('file://' === substr($stream, 0, 7)) {
            return dirname(substr($stream, 7));
        }
 
Arguments
  1. "fwrite(): Write of 2206 bytes failed with errno=27 File too large"
    
/mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
            flock($stream, LOCK_EX);
        }
 
        $this->streamWrite($stream, $record);
 
        if ($this->useLocking) {
            flock($stream, LOCK_UN);
        }
    }
 
    /**
     * Write to stream
     * @param resource $stream
     * @param array    $record
     *
     * @phpstan-param FormattedRecord $record
     */
    protected function streamWrite($stream, array $record): void
    {
        fwrite($stream, (string) $record['formatted']);
    }
 
    private function customErrorHandler(int $code, string $msg): bool
    {
        $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);
 
        return true;
    }
 
    private function getDirFromStream(string $stream): ?string
    {
        $pos = strpos($stream, '://');
        if ($pos === false) {
            return dirname($stream);
        }
 
        if ('file://' === substr($stream, 0, 7)) {
            return dirname(substr($stream, 7));
        }
 
/mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
            if (!is_resource($stream)) {
                $this->stream = null;
 
                throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened in append mode: '.$this->errorMessage, $url) . Utils::getRecordMessageForException($record));
            }
            stream_set_chunk_size($stream, $this->streamChunkSize);
            $this->stream = $stream;
        }
 
        $stream = $this->stream;
        if (!is_resource($stream)) {
            throw new \LogicException('No stream was opened yet' . Utils::getRecordMessageForException($record));
        }
 
        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);
        }
    }
 
    /**
     * Write to stream
     * @param resource $stream
     * @param array    $record
     *
     * @phpstan-param FormattedRecord $record
     */
    protected function streamWrite($stream, array $record): void
    {
        fwrite($stream, (string) $record['formatted']);
    }
 
    private function customErrorHandler(int $code, string $msg): bool
    {
/mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php
    use ProcessableHandlerTrait;
    use FormattableHandlerTrait;
 
    /**
     * {@inheritDoc}
     */
    public function handle(array $record): bool
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        if ($this->processors) {
            /** @var Record $record */
            $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
     *
     * @phpstan-param FormattedRecord $record
     */
    abstract protected function write(array $record): void;
 
    /**
     * @return void
     */
    public function reset()
    {
        parent::reset();
 
        $this->resetProcessors();
    }
/mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Logger.php
                        'level_name' => $levelName,
                        'channel' => $this->name,
                        'datetime' => $datetime ?? new DateTimeImmutable($this->microsecondTimestamps, $this->timezone),
                        'extra' => [],
                    ];
 
                    try {
                        foreach ($this->processors as $processor) {
                            $record = $processor($record);
                        }
                    } catch (Throwable $e) {
                        $this->handleException($e, $record);
 
                        return true;
                    }
                }
 
                // once the record exists, send it to all handlers as long as the bubbling chain is not interrupted
                try {
                    if (true === $handler->handle($record)) {
                        break;
                    }
                } catch (Throwable $e) {
                    $this->handleException($e, $record);
 
                    return true;
                }
            }
        } finally {
            if ($this->detectCycles) {
                if (isset($fiber)) {
                    $this->fiberLogDepth[$fiber]--;
                } else {
                    $this->logDepth--;
                }
            }
        }
 
        return null !== $record;
    }
/mnt/web115/d3/66/59056066/htdocs/vendor/monolog/monolog/src/Monolog/Logger.php
     *
     * @param string|Stringable $message The log message
     * @param mixed[]           $context The log context
     */
    public function warning($message, array $context = []): void
    {
        $this->addRecord(static::WARNING, (string) $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param string|Stringable $message The log message
     * @param mixed[]           $context The log context
     */
    public function error($message, array $context = []): void
    {
        $this->addRecord(static::ERROR, (string) $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param string|Stringable $message The log message
     * @param mixed[]           $context The log context
     */
    public function critical($message, array $context = []): void
    {
        $this->addRecord(static::CRITICAL, (string) $message, $context);
    }
 
    /**
     * Adds a log record at the ALERT level.
     *
     * This method allows for compatibility with common interfaces.
     *
/mnt/web115/d3/66/59056066/htdocs/vendor/laravel/framework/src/Illuminate/Log/Logger.php
     * @param  string  $message
     * @param  array  $context
     * @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->logger->{$level}($message = $this->formatMessage($message), $context);
 
        $this->fireLogEvent($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);
    }
/mnt/web115/d3/66/59056066/htdocs/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
/mnt/web115/d3/66/59056066/htdocs/vendor/laravel/framework/src/Illuminate/Log/LogManager.php
     * @param  string  $message
     * @param  array  $context
     * @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.
     *
/mnt/web115/d3/66/59056066/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
        }
 
        if (Reflector::isCallable($reportCallable = [$e, 'report'])) {
            $this->container->call($reportCallable);
 
            return;
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e;
        }
 
        $logger->error(
            $e->getMessage(),
            array_merge(
                $this->exceptionContext($e),
                $this->context(),
                ['exception' => $e]
            )
        );
    }
 
    /**
     * Determine if the exception should be reported.
     *
     * @param  \Throwable  $e
     * @return bool
     */
    public function shouldReport(Throwable $e)
    {
        return ! $this->shouldntReport($e);
    }
 
    /**
     * Determine if the exception is in the "do not report" list.
     *
     * @param  \Throwable  $e
     * @return bool
/mnt/web115/d3/66/59056066/htdocs/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(Throwable $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, Throwable $exception)
    {
        if($this->isHttpException($exception)){
            switch ($exception->getStatusCode()) {
                // PAGINA NO ENCONTRADA
                case 404:
                    return response()->view('errors.404',[],404);
                    break;
                // ERROR INTERNO DEL SERVIDOR
                case '500':
                    return response()->view('errors.500',[],500);
/mnt/web115/d3/66/59056066/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php
            throw new ErrorException($message, 0, $level, $file, $line);
        }
    }
 
    /**
     * 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(Throwable $e)
    {
        try {
            self::$reservedMemory = null;
 
            $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  \Throwable  $e
     * @return void
     */
    protected function renderForConsole(Throwable $e)
    {
        $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e);
[internal]

Environment & details:

empty
empty
empty
empty
empty
Key Value
UNIQUE_ID
"Z4rl5uBvSIMbfWUlQYPHdAAAD08"
RZ_n
"59056066"
RZ_a
":~clean:Rhttp-301:Cpower:quota=51200MB:phpmin=80:ippool=mw:fcgi=1:php=80:forcessl=301:defpage:crt=21963015:tpl=strato-standard:"
RZ_path
"web115/d3/66/59056066"
SCRIPT_URL
"/"
SCRIPT_URI
"https://kalmainmoeventos.es/"
HTTPS
"on"
DOCUMENT_ROOT
"/home/strato/http/power/rid/60/66/59056066/htdocs"
RZ_php
"80"
PHPRC
"/home/strato/http/power/rid/60/66/59056066/htdocs"
HTTP_HOST
"kalmainmoeventos.es"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_CONNECTION
"close"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SERVER_SOFTWARE
"Apache/2.4.62 (Unix)"
SERVER_NAME
"kalmainmoeventos.es"
SERVER_PORT
"443"
REMOTE_ADDR
"3.140.198.3"
SERVER_ADMIN
"service@webmailer.de"
SCRIPT_FILENAME
"/home/strato/http/power/rid/60/66/59056066/htdocs/index.php"
REMOTE_PORT
"62951"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1737156070.6891
REQUEST_TIME
1737156070
argv
[]
argc
0
APP_NAME
"Kalma Inmobiliaria & Eventos"
APP_ENV
"production"
APP_KEY
"base64:rdx2HRjiy2gl3X8QsoNy1PtIYl64jz+A14byyqe5eFE="
APP_DEBUG
"true"
APP_URL
"https://www.kalmainmoeventos.es"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"rdbms.strato.de"
DB_PORT
"3306"
DB_DATABASE
"DB3269877"
DB_USERNAME
"U3269877"
DB_PASSWORD
"kalmainmoeventos2018"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.strato.de"
MAIL_PORT
"587"
MAIL_USERNAME
"info@kalmainmoeventos.es"
MAIL_FROM_NAME
"Kalma Inmobiliaria & Eventos"
MAIL_PASSWORD
"Info2018"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
Key Value
UNIQUE_ID
"Z4rl5uBvSIMbfWUlQYPHdAAAD08"
RZ_n
"59056066"
RZ_a
":~clean:Rhttp-301:Cpower:quota=51200MB:phpmin=80:ippool=mw:fcgi=1:php=80:forcessl=301:defpage:crt=21963015:tpl=strato-standard:"
RZ_path
"web115/d3/66/59056066"
SCRIPT_URL
"/"
SCRIPT_URI
"https://kalmainmoeventos.es/"
HTTPS
"on"
DOCUMENT_ROOT
"/home/strato/http/power/rid/60/66/59056066/htdocs"
RZ_php
"80"
PHPRC
"/home/strato/http/power/rid/60/66/59056066/htdocs"
HTTP_HOST
"kalmainmoeventos.es"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_CONNECTION
"close"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SERVER_SOFTWARE
"Apache/2.4.62 (Unix)"
SERVER_NAME
"kalmainmoeventos.es"
SERVER_PORT
"443"
REMOTE_ADDR
"3.140.198.3"
SERVER_ADMIN
"service@webmailer.de"
SCRIPT_FILENAME
"/home/strato/http/power/rid/60/66/59056066/htdocs/index.php"
REMOTE_PORT
"62951"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/"
SCRIPT_NAME
"/index.php"
APP_NAME
"Kalma Inmobiliaria & Eventos"
APP_ENV
"production"
APP_KEY
"base64:rdx2HRjiy2gl3X8QsoNy1PtIYl64jz+A14byyqe5eFE="
APP_DEBUG
"true"
APP_URL
"https://www.kalmainmoeventos.es"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"rdbms.strato.de"
DB_PORT
"3306"
DB_DATABASE
"DB3269877"
DB_USERNAME
"U3269877"
DB_PASSWORD
"kalmainmoeventos2018"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.strato.de"
MAIL_PORT
"587"
MAIL_USERNAME
"info@kalmainmoeventos.es"
MAIL_FROM_NAME
"Kalma Inmobiliaria & Eventos"
MAIL_PASSWORD
"Info2018"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
0. Whoops\Handler\PrettyPageHandler