danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.83k stars 651 forks source link

Not working with stable amphp v2 version #1505

Closed darkdarin closed 6 months ago

darkdarin commented 6 months ago

Version danog/madelineproto: 8.0.0-beta194 Version amphp/postgres (amphp/sql, amphp/sql-common): v2.0.0

After starting client I get error:

Cannot assign Amp\Postgres\PostgresConnectionPool to property danog\MadelineProto\Db\SqlArray::$db of type Amp\Sql\Pool

danog commented 6 months ago

Fixed in beta195!

darkdarin commented 5 months ago

Thank you!