Laravel 5.3 - htmlspecialchars() expects parameter 1 to be string
问题 I am new to laravel and I am enjoying it. While working on a social media project I got this error: htmlspecialchars() expects parameter 1 to be string, object given (View: C:\wamp64\www\histoirevraie\resources\views\user\profile.blade.php) I have checked some questions on this site but I have not found a question that solves my problem. this is what my profile.blade.php is made of: <ul class="profile-rows"> <li> <span class="the-label">Last visit: </span> <span class="the-value mark green">{