Problem/Motivation
In log messages, I can see php error.
TypeError: Cannot assign null to property Drupal\filelog\LogMessage::$user of type Drupal\user\UserInterface in Drupal\filelog\LogMessage->getUser() (line 236 of /var/www/web/modules/contrib/filelog/src/LogMessage.php)
#0 /var/www/web/modules/contrib/filelog/filelog.tokens.inc(100): Drupal\filelog\LogMessage->getUser()
#1 [internal function]: filelog_tokens('log', Array, Array, Array, Object(Drupal\Core\Render\BubbleableMetadata))
#2 /var/www/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(426): call_user_func_array(Object(Closure), Array)
#3 /var/www/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(405): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object(Closure), 'filelog')
#4 /var/www/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(433): Drupal\Core\Extension\ModuleHandler->invokeAllWith('tokens', Object(Closure))
#5 /var/www/web/core/lib/Drupal/Core/Utility/Token.php(357): Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array)
#6 /var/www/web/core/lib/Drupal/Core/Utility/Token.php(239): Drupal\Core\Utility\Token->generate('log', Array, Array, Array, Object(Drupal\Core\Render\BubbleableMetadata))
#7 /var/www/web/core/lib/Drupal/Core/Utility/Token.php(189): Drupal\Core\Utility\Token->doReplace(true, '[[log:created]]...', Array, Array, Object(Drupal\Core\Render\BubbleableMetadata))
#8 /var/www/web/modules/contrib/filelog/src/Logger/FileLog.php(223): Drupal\Core\Utility\Token->replace('[[log:created]]...', Array, Array, Object(Drupal\Core\Render\BubbleableMetadata))
#9 /var/www/web/modules/contrib/filelog/src/Logger/FileLog.php(159): Drupal\filelog\Logger\FileLog->render(5, 'Deleted user: %...', Array)
#10 /var/www/web/core/lib/Drupal/Core/Logger/LoggerChannel.php(127): Drupal\filelog\Logger\FileLog->log(5, 'Deleted user: %...',
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes