Skip to content

Bug #61

@TheyCallMeSticky

Description

@TheyCallMeSticky
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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions