Home » Блог медицинского работника

Блог медицинского работника

Кажется, мы не можем найти то, что вы ищите. Возможно, поможет поиск.


Fatal error: Declaration of Illuminate\Log\Context\ContextLogProcessor::__invoke(Monolog\LogRecord $record): Monolog\LogRecord must be compatible with Monolog\Processor\ProcessorInterface::__invoke(array $records) in /var/www/html/seology.ru/vendor/illuminate/log/Context/ContextLogProcessor.php on line 18
Declaration of Illuminate\Log\Context\ContextLogProcessor::__invoke(Monolog\LogRecord $record): Monolog\LogRecord must be compatible with Monolog\Processor\ProcessorInterface::__invoke(array $records) (500 Internal Server Error)

Symfony Exception

Declaration of Illuminate\Log\Context\ContextLogProcessor::__invoke(Monolog\LogRecord $record): Monolog\LogRecord must be compatible with Monolog\Processor\ProcessorInterface::__invoke(array $records)

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#4541
  -error: array:4 [
    "type" => 64
    "message" => "Declaration of Illuminate\Log\Context\ContextLogProcessor::__invoke(Monolog\LogRecord $record): Monolog\LogRecord must be compatible with Monolog\Processor\ProcessorInterface::__invoke(array $records)"
    "file" => "/var/www/html/seology.ru/vendor/illuminate/log/Context/ContextLogProcessor.php"
    "line" => 18
  ]
}
  1. * Add contextual data to the log's "extra" parameter.
  2. *
  3. * @param \Monolog\LogRecord $record
  4. * @return \Monolog\LogRecord
  5. */
  6. public function __invoke(LogRecord $record): LogRecord
  7. {
  8. $app = Container::getInstance();
  9. if (! $app->bound(ContextRepository::class)) {
  10. return $record;

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Declaration of Illuminate\Log\Context\ContextLogProcessor::__invoke(Monolog\LogRecord $record): Monolog\LogRecord must be compatible with Monolog\Processor\ProcessorInterface::__invoke(array $records)

  at /var/www/html/seology.ru/vendor/illuminate/log/Context/ContextLogProcessor.php:18