-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
private function getFirstErrorString($error){
if (!is_string($error)) {
return $this->getFirstErrorString(array_values($error)[0]);
}
return $error;
}
on this code i have an error. "if (!is_string($error)) {" but $error is not a string or an array. this return me a 500.
i can suggest :
private function getFirstErrorString($error){
if (is_array($error)) {
return $this->getFirstErrorString(array_values($error)[0]);
}
return $error;
}
the final error i get is : "We can't serve the download. Check why in the params. ()". i still don't know why
Metadata
Metadata
Assignees
Labels
No labels