danog / MadelineProto

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

Undefined array key 203 in DataCenter.php,325 #1379

Closed LEO111 closed 1 year ago

LEO111 commented 1 year ago

New error on connection:

DataCenter.php(325): exceptionErrorHandler(2,"Undefined array key 203","phar:\/\/\/home\/mf\/tgup\/madeline-8.0.0-beta128.phar\/vendor\/danog\/madelineproto\/src\/DataCenter.php",325) DataCenter.php(236): generateContexts(203) functions.php(34): dcConnect(203) AbstractDriver.php(422): Amp{closure}(null,null,[]) AbstractDriver.php(612): invokeMicrotasks() Revolt\EventLoop\Internal{closure}() AbstractDriver.php(494): resume() AbstractDriver.php(549): invokeCallbacks() Revolt\EventLoop\Internal{closure}() AbstractDriver.php(93): resume() DriverSuspension.php(99): Revolt\EventLoop\Internal{closure}() FutureIterator.php(133): suspend() Future.php(59): consume() functions.php(151): iterate([{},{},{},{},{},{},{},{},{},{}],null) MTProto.php(1344): Amp\Future\await([{},{},{},{},{},{},{},{},{},{}]) MTProto.php(1047): connectToAllDcs() API.php(345): wakeup({},{}) API.php(207): connectToMadelineProto({}) entry.php(112): __construct("\/home\/mf\/tgup\/sessions\/79168303327.madeline",{}) entry.php(147): {closure}() madeline-8.0.0-beta128.phar(48): require_once("phar:\/\/\/home\/mf\/tgup\/madeline-8.0.0-beta128.phar\/vendor\/danog\/madelineproto\/src\/Ipc\/Runner\/entry.php") madeline.php(172): require_once("\/home\/mf\/tgup\/madeline-8.0.0-beta128.phar") madeline.php(210): load("8.0.0-beta128") madeline.php(248): install()

danog commented 1 year ago

Fixed in the latest beta!