You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am using the PrimaryReadReplicaConnection class to set up a Primary/Replica connection, then I am facing the following issue:
Argument 2 passed to Facile\DoctrineMySQLComeBack\Doctrine\DBAL\Statement::__construct() must be an instance of Facile\DoctrineMySQLComeBack\Doctrine\DBAL\Connection, instance of Facile\DoctrineMySQLComeBack\Doctrine\DBAL\Connections\PrimaryReadReplicaConnection given, called in vendor/facile-it/doctrine-mysql-come-back/src/ConnectionTrait.php on line 212 and defined in vendor/facile-it/doctrine-mysql-come-back/src/Statement.php:40
My guess is that the Statement actually needs ConnectionInterface as the second parameter instead of Connection.
I am using the latest version 1.10.0.
The text was updated successfully, but these errors were encountered:
When I am using the PrimaryReadReplicaConnection class to set up a Primary/Replica connection, then I am facing the following issue:
Argument 2 passed to Facile\DoctrineMySQLComeBack\Doctrine\DBAL\Statement::__construct() must be an instance of Facile\DoctrineMySQLComeBack\Doctrine\DBAL\Connection, instance of Facile\DoctrineMySQLComeBack\Doctrine\DBAL\Connections\PrimaryReadReplicaConnection given, called in vendor/facile-it/doctrine-mysql-come-back/src/ConnectionTrait.php on line 212 and defined in vendor/facile-it/doctrine-mysql-come-back/src/Statement.php:40
My guess is that the Statement actually needs ConnectionInterface as the second parameter instead of Connection.
I am using the latest version
1.10.0
.The text was updated successfully, but these errors were encountered: