Skip to content

Trying to access array offset on value of type resource #207

@sushicodeur

Description

@sushicodeur

I'm not sure why, on my dev machine, with an env under docker I had suddenly this error today : "Trying to access array offset on value of type resource"

It looks like modifying line 138 of lib/CrEOF/Spatial/DBAL/Types/AbstractSpatialType.php like so fixes the error, but I'm not sure why nor where to look for an explanation :

if (!is_resource($value) && ctype_alpha($value[0])) {

If I can be of any help, please give hints to where to look, and what is missing in this issue description :)

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