Skip to content

[BUG] v1.3.0 ::findFirst() stopped working as a result of a recent commit #2118

Closed
@temuri416

Description

@temuri416

Hi,

It looks like last month has been rough on Phalcon branch 1.3.0.

My code has suddenly stopped working as a result of commit 7e54b69:

Column 'id' doesn't belong to any of the selected models (2), when preparing: SELECT [App\User\Account].* FROM [App\User\Account] WHERE [id] = ?0 AND [record_status] = ?1 LIMIT 1
$parameters = [
    'bind' => [
        0 => 114,
        1 => 1
    ],
    'conditions' => '[id] = ?0 AND [record_status] = ?1'
];
$model = App\User\Account::findFirst($parameters);

Thanks!

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions