Fatal error: Cannot re-assign $this in /home/invertor/invertor.nichost.ru/docs/plugins/system/strict404/strict404.php on line 77
Compile Error: Cannot re-assign $this (500 Whoops, looks like something went wrong.)

FatalError

HTTP 500 Whoops, looks like something went wrong.

Compile Error: Cannot re-assign $this

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#589
  -error: array:4 [
    "type" => 64
    "message" => "Cannot re-assign $this"
    "file" => "/home/invertor/invertor.nichost.ru/docs/plugins/system/strict404/strict404.php"
    "line" => 77
  ]
}
  1.             // Подключаем error.php с $errorDoc как $this
  2.             $self $errorDoc;
  3.             (static function () use ($templateErrorPath$self) {
  4.                 // Внутри анонимной функции $this = $self
  5.                 $this $self;
  6.                 include $templateErrorPath;
  7.             })();
  8.             // Завершаем выполнение
  9.             $app->close();

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Cannot re-assign $this

  at /home/invertor/invertor.nichost.ru/docs/plugins/system/strict404/strict404.php:77