Already done a research but I don\'t find the right answer that fit my problem.
error: htmlspecialchars() expects parameter 1 to be string, array given(create.blade)
This is not a Laravel specific error:
in php documents if you see
htmlspecialchars("Test", ENT_QUOTES);
this function accepts, 2 parameters, first one is a string and second is an optional parameter.
If you have an array of strings to be escaped then use foreach and escape each string