Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After update, Madelineproto fails to run #1065

Closed
mondayrris opened this issue Dec 5, 2021 · 1 comment
Closed

After update, Madelineproto fails to run #1065

mondayrris opened this issue Dec 5, 2021 · 1 comment

Comments

@mondayrris
Copy link

PHP Version 8.0.12

Uncaught Error: Call to a member function advance() on array in /var/www/html/application/vendor/danog/madelineproto/src/danog/MadelineProto/Db/SqlArray.php:56 Stack trace: #0 [internal function]: danog\MadelineProto\Db\SqlArray->danog\MadelineProto\Db{closure}() #1 /var/www/html/application/vendor/amphp/amp/lib/Coroutine.php(115): Generator->throw() #2 /var/www/html/application/vendor/amphp/amp/lib/Failure.php(33): Amp\Coroutine->Amp{closure}() #3 /var/www/html/application/vendor/amphp/amp/lib/Internal/Placeholder.php(143): Amp\Failure->onResolve() #4 /var/www/html/application/vendor/amphp/amp/lib/Internal/Placeholder.php(177): Amp\Coroutine->resolve() #5 /var/www/html/application/vendor/amphp/amp/lib/Coroutine.php(137): Amp\Coroutine->fail() #6 /var/www/html/application/vendor/amphp/amp/lib/Failure.php(33): Amp\Coroutine->Amp{closure}() #7 /var/www/html/application/vendor/amphp/amp/lib/Internal/Placeholder.php(143): Amp\Failure->onResolve() #8 /var/www/html/application/vendor/amphp/amp/lib/Internal/Placeholder.php(177): Amp\Coroutine->resolve() #9 /var/www/html/application/vendor/amphp/amp/lib/Coroutine.php(137): Amp\Coroutine->fail() #10 /var/www/html/application/vendor/amphp/amp/lib/Failure.php(33): Amp\Coroutine->Amp{closure}() #11 /var/www/html/application/vendor/amphp/amp/lib/Internal/Placeholder.php(143): Amp\Failure->onResolve() #12 /var/www/html/application/vendor/amphp/amp/lib/Internal/Placeholder.php(177): Amp\Promise@anonymous->resolve() #13 /var/www/html/application/vendor/amphp/amp/lib/Deferred.php(66): Amp\Promise@anonymous->fail() #14 /var/www/html/application/vendor/amphp/mysql/src/Internal/Processor.php(711): Amp\Deferred->fail() #15 /var/www/html/application/vendor/amphp/mysql/src/Internal/Processor.php(921): Amp\Mysql\Internal\Processor->handleError() #16 /var/www/html/application/vendor/amphp/mysql/src/Internal/Processor.php(1455): Amp\Mysql\Internal\Processor->handleQuery() #17 /var/www/html/application/vendor/amphp/mysql/src/Internal/Processor.php(295): Amp\Mysql\Internal\Processor->parsePayload() #18 /var/www/html/application/vendor/amphp/mysql/src/Internal/Processor.php(262): Amp\Mysql\Internal\Processor->processData() #19 [internal function]: Amp\Mysql\Internal\Processor->read() #20 /var/www/html/application/vendor/amphp/amp/lib/Coroutine.php(118): Generator->send() #21 /var/www/html/application/vendor/amphp/amp/lib/Internal/Placeholder.php(149): Amp\Coroutine->Amp{closure}() #22 /var/www/html/application/vendor/amphp/amp/lib/Deferred.php(53): Amp\Promise@anonymous->resolve() #23 /var/www/html/application/vendor/amphp/byte-stream/lib/ResourceInputStream.php(101): Amp\Deferred->resolve() #24 /var/www/html/application/vendor/amphp/amp/lib/Loop/NativeDriver.php(327): Amp\ByteStream\ResourceInputStream::Amp\ByteStream{closure}() #25 /var/www/html/application/vendor/amphp/amp/lib/Loop/NativeDriver.php(127): Amp\Loop\NativeDriver->selectStreams() #26 /var/www/html/application/vendor/amphp/amp/lib/Loop/Driver.php(138): Amp\Loop\NativeDriver->dispatch() #27 /var/www/html/application/vendor/amphp/amp/lib/Loop/Driver.php(72): Amp\Loop\Driver->tick() #28 /var/www/html/application/vendor/amphp/amp/lib/Loop.php(95): Amp\Loop\Driver->run() #29 /var/www/html/application/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(302): Amp\Loop::run() #30 /var/www/html/application/vendor/danog/madelineproto/src/danog/MadelineProto/AbstractAPIFactory.php(139): danog\MadelineProto\Tools::wait() #31 /var/www/html/application/vendor/danog/madelineproto/src/danog/MadelineProto/InternalDoc.php(6925): danog\MadelineProto\AbstractAPIFactory->__call() #32

@mondayrris
Copy link
Author

Fixed by deleting the session.madeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant