htmlspecialchars() expects parameter 1 to be string, array given (View: laravel 5.8 code example
Example: htmlspecialchars() expects parameter 1 to be string array given in laravel blade
@foreach ($var as $key)
@endforeach
@foreach ($var as $key)
@endforeach