Помогите , вот такая ошибка при авторизации .
Exception: Error: Call to a member function serialize() on string in
phar:///var/www/html/parser_channel/madeline.phar/...
Stack trace:
#0 [internal function]: danog\MadelineProto\APIWrapper->danog\MadelineProto\{closure}()
#1
phar:///var/www/html/parser_channel/madeline.phar/...: Generator->current()
#2
phar:///var/www/html/parser_channel/madeline.phar/...: danog\MadelineProto\Coroutine->__construct(Object(Generator))
#3
phar:///var/www/html/parser_channel/madeline.phar/...: danog\MadelineProto\Tools::callFork(Object(Generator))
#4
phar:///var/www/html/parser_channel/madeline.phar/...: danog\MadelineProto\APIWrapper->serialize()
#5
phar:///var/www/html/parser_channel/madeline.phar/...: danog\MadelineProto\MTProto->serialize()
#6
phar:///var/www/html/parser_channel/madeline.phar/...: danog\Loop\Generic\PeriodicLoop->loop()
#7 [internal function]: danog\MadelineProto\Loop\Generic\PeriodicLoopInternal->danog\MadelineProto\Loop\{closure}()
#8
phar:///var/www/html/parser_channel/madeline.phar/...: Generator->send(NULL)
#9
phar:///var/www/html/parser_channel/madeline.phar/...: danog\MadelineProto\Coroutine->danog\MadelineProto\{closure}(NULL, NULL)
#10
phar:///var/www/html/parser_channel/madeline.phar/...: class@anonymous->onResolve(Object(Closure))
#11
phar:///var/www/html/parser_channel/madeline.phar/...: Amp\Internal\PrivatePromise->onResolve(Object(Closure))
#12
phar:///var/www/html/parser_channel/madeline.phar/...: class@anonymous->resolve(Object(Amp\Internal\PrivatePromise))
#13
phar:///var/www/html/parser_channel/madeline.phar/...: Amp\Deferred->resolve(Object(Amp\Internal\PrivatePromise))
#14
phar:///var/www/html/parser_channel/madeline.phar/...: danog\Loop\ResumableSignalLoop->danog\Loop\Traits\{closure}(NULL, NULL)
#15
phar:///var/www/html/parser_channel/madeline.phar/...: class@anonymous->resolve(NULL)
#16
phar:///var/www/html/parser_channel/madeline.phar/...: Amp\Deferred->resolve()
#17
phar:///var/www/html/parser_channel/madeline.phar/...: danog\Loop\ResumableSignalLoop->resumeInternal('qj', NULL)
#18
phar:///var/www/html/parser_channel/madeline.phar/...: Amp\Loop\NativeDriver->dispatch(true)
#19
phar:///var/www/html/parser_channel/madeline.phar/...: Amp\Loop\Driver->tick()
#20
phar:///var/www/html/parser_channel/madeline.phar/...: Amp\Loop\Driver->run()
#21
phar:///var/www/html/parser_channel/madeline.phar/...: Amp\Loop::run(Object(Closure))
#22
phar:///var/www/html/parser_channel/madeline.phar/...: danog\MadelineProto\Tools::wait(Object(danog\MadelineProto\Coroutine))
#23 /var/www/html/parser_channel/auth.php(49): danog\MadelineProto\AbstractAPIFactory->__call('getDialogs', Array)
#24 {main}