You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Laravel 5.8 and im getting error ""trim() expects parameter 1 to be string, array given".After commenting this mentioned piece of code, it works properly.
if (is_array($data)) {
$data = array_map('trim', $data);
}
Please help me on that asap
The text was updated successfully, but these errors were encountered:
I am using Laravel 5.8 and im getting error ""trim() expects parameter 1 to be string, array given".After commenting this mentioned piece of code, it works properly.
if (is_array($data)) {
$data = array_map('trim', $data);
}
Please help me on that asap
The text was updated successfully, but these errors were encountered: