Error message
Passing Argument of Type Array to Drupal\Component\Utility\Html::escape will trigger a PHP TypeError in drupal:9.5.7 and higher. Pass a string instead. See https://www.drupal.org/node/3352384 for more. To find out more about the Array given instead of String, use var_dump() or Devel dpm() by uncommenting line 440-447 in \Drupal\Component\Utility\Html.php.