Skip to content

Call to a member function getResult() on boolean #409

Description

@kenan-recebli

any find* method of model class throws this error:
screenshot from 2017-02-17 17-42-46

i "played" a little in BASEPATH/Model.php file, and found that dumping $builder->where($this->primaryKey, $id)->get() (for example) works fine, var_dump dumps it as it should, the line $builder->where($this->primaryKey, $id)->get() is assigned to $row variable, but vard_dump($row) dumps false, so the next line $row = $row->getFirstRow($this->tempReturnType) throws an error "Call to a member function getResult() on boolean"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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