Skip to content

error "number of bound variables does not match number of tokens" on bcim in a global install #257

@robertgarrigos

Description

@robertgarrigos

I had this error when trying bcim in a global installation of drush:

PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens: SELECT name FROM {system} WHERE type='module' AND status=1; Array
(
    [:type] => module
    [:status] => 1
)
 a drush_db_select() (línia 131 de phar:///usr/local/bin/drush/includes/dbtng.inc).
Drush command terminated abnormally due to an unrecoverable error.                                                  [error]
Error: Return type of HumbugBox3140\KevinGH\RequirementChecker\RequirementCollection::count() should either be
compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily
suppress the notice in phar:///usr/local/bin/drush/.box/src/RequirementCollection.php, line 19

I have to say that I'm doing bcim on the lando dev site with NO problem. This is related to the same production site, with a globl drush and NO lando.

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