Skip to content

if location is null, getting error #6

@Saifallak

Description

@Saifallak

always getting this error if location col. is null

because of $casts in the model

explode(): Argument #2 ($string) must be of type string, null given
exception: "TypeError",
"/var/www/sonbla/releases/8/vendor/tarfin-labs/laravel-spatial/src/Casts/LocationCast.php"
line: 18,

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