Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Invalid parameter number with LIKE mode #13

@michaelst

Description

@michaelst

When I change to LIKE mode I'm getting an error showing that there are too many parameters.

SQLSTATE[HY093]: Invalid parameter number: parameter was not defined

"select count(*) as aggregate from recurring_profiles where account_id = :account_id AND (id LIKE :_search0 OR account_id LIKE :_search1 OR title LIKE :_search2) and recurring_profiles.deleted_at is null",
[
1,
"%liabiliti%",
"%liabiliti%",
"%liabiliti%",
"%liabiliti%"
],

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