The following problem is please help!
$subString = isset($subString) ? $subString : $profile->getDisplayLocation();
?>
<?= Icon::fa('spin') ?>
</div>
</div>
<div class="card-body d-flex flex-column" style="position: relative">
<h6 class="d-flex justify-content-start align-items-center">
<span class="display-name">
<?= Html::encode($profile->getSexTitle()) ?>
</span>
</h6>